rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: Chet Ramey <chet@odin.INS.CWRU.Edu>
To: davidf@golem.waterloo.on.ca
Cc: rc@hawkwind.utcs.toronto.edu
Subject: Re: rc 1.5
Date: Mon, 19 Apr 1993 07:59:00 -0400	[thread overview]
Message-ID: <9304191159.AA08714.SM@odin.INS.CWRU.Edu> (raw)
In-Reply-To: Message from davidf@golem.waterloo.on.ca of Sat, 17 Apr 1993 07:51:55 -0400 (id <9304170751.aa04405@golem.waterloo.on.ca>)

> Actually, /bin/sh, /bin/ksh, and the POSIX.2 shell all check
> the current directory for a file named "test", and _then_
> search the path for a file named "test" which is also
> executable.

This is not true, except in some older versions of sh.  Current
versions of sh do not do it; I don't think ksh ever did.  Posix.2
specifies that only a path search is performed.  The current directory
is not searched unless it is in $PATH ``to avoid introducing
suceptibility to trojan horses that a user might be trying to avoid by
leaving `.' out of $PATH.''

Chet

--
``The ballpark is quiet now, save for the sound of droplets landing.  That
  is as it should be.  For today there are two fewer boys of summer.''

Chet Ramey, Case Western Reserve University	Internet: chet@po.CWRU.Edu


  reply	other threads:[~1993-04-19 12:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-04-16 22:21 Byron Rakitzis
1993-04-17 11:51 ` David J. Fiander
1993-04-19 11:59   ` Chet Ramey [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-04-17 16:56 Paul Haahr
1993-04-17 16:47 Alan Watson
1993-04-16 19:14 Memory leaking Byron Rakitzis
1993-04-16 22:04 ` rc 1.5 David J. Fiander

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9304191159.AA08714.SM@odin.INS.CWRU.Edu \
    --to=chet@odin.ins.cwru.edu \
    --cc=chet@po.CWRU.Edu \
    --cc=davidf@golem.waterloo.on.ca \
    --cc=rc@hawkwind.utcs.toronto.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).