test -f //dot

Eric Blake eblake@redhat.com
Sat Jul 14 18:19:00 GMT 2012


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



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20120714/1e55aa49/attachment.sig>


More information about the Cygwin mailing list