This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: [Patch] cygcheck: warn about empty path-components
On Oct 5 10:34, Christopher Faylor wrote:
> On Tue, Oct 05, 2004 at 09:09:31AM -0500, Brian Ford wrote:
> >The current directory is specified by a null path name, which can appear
> >immediately after the equal sign, between two colon delimiters anywhere in
> >the path list, or at the end of the path list.
> >[...]
> >I believe this is a valid construct and I have used it frequently.
>
> Ditto.
>
> PATH=/foo::/bar
>
> means search for /foo, then the current directory, then /bar.
Oh, interesting. I never even thought about using an empty path.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:cygwin@cygwin.com
Red Hat, Inc.