Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 2002 19:48:13 +0200 (CEST)
From:      Oliver Fromme <olli@secnetix.de>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: ports problems -- FIXED
Message-ID:  <200208231748.g7NHmDlh087531@lurza.secnetix.de>
In-Reply-To: <441y8pzf43.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Lowell Gilbert <freebsd-stable-local@be-well.no-ip.com> wrote:
 > Oliver Fromme <olli@secnetix.de> writes:
 > > The $PATH is a sequence of dirctory names (separated by
 > > colons).  A directory name is just that -- the file name
 > > of a directory.  Such a name _never_ ends with a slash,
 > > because the slash is used to separate components of a
 > > path.
 > 
 > That was my assumption, but I've been unsuccessful in trying to back
 > it up with hard facts.  I have checked a wide range of reference
 > materials (aside from POSIX itself, to which I have no access), and
 > can't find anything to say this explicitly.

From our sh(1) manpage, subsection "Path Search":

   2.   The shell searches each entry in PATH in turn for
        the command.  The value of the PATH variable should
        be a series of entries separated by colons.  Each
        entry consists of a directory name.

It does not say "... or a directory name followed by a
slash".

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"All that we see or seem is just a dream within a dream" (E. A. Poe)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208231748.g7NHmDlh087531>