This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: test -f //dot


On 07/13/2012 07:50 PM, Andrey Repin wrote:

> 
>> test -f //dot
> 
> Use empty base prefix to specify filesystem root.

Sorry; the empty base prefix in $PATH means the current directory, not
the root.

>> (I *had* introduced / to the PATH by adding cygwin's install dir to my 
>> Windows PATH; to ease access to cygwin.bat.)
> 
> This sounds like a bad idea.

Not entirely bad, if you use /// instead of / in your PATH.

-- 
Eric Blake   eblake@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org



Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]