delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/14/14:19:37

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-10.3 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <5001B81B.4080202@redhat.com>
Date: Sat, 14 Jul 2012 12:19:07 -0600
From: Eric Blake <eblake AT redhat DOT com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: test -f //dot
References: <500008DB DOT 9030604 AT codeplay DOT com> <1715516860 DOT 20120714055054 AT mtu-net DOT ru>
In-Reply-To: <1715516860.20120714055054@mtu-net.ru>
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--------------enigB7DE0CD805847F61942C506F
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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

>=20
>> test -f //dot
>=20
> 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=
=20
>> Windows PATH; to ease access to cygwin.bat.)
>=20
> This sounds like a bad idea.

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

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




--------------enigB7DE0CD805847F61942C506F
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJQAbgbAAoJEKeha0olJ0NqJP8H/3GHc14hl1b6zqxX2KA2X3R/
93za84aXJCPvO4fvXVLJw4WWydPmny59JAGicrqVeH9fHf4+Px5/9HF9+4TB9Yvo
CHHXNLMt191sTWaN6tmu2e/NL/yXM83RrcaC88XOzTqJ+7o4afwFxSaubG2poBuF
peNfLKQu6a9Z87zHa9cdGIq3t8P67dsnnVw4FsoKDN6ZmhREsbYsyIcxlxwk5C43
BtV4mRX0MGhK8rPKPGmzLyhVza2IixMNrWJks95opuyYsMFWQnXXY61kb4RZhndQ
gmm2FacjI5Edo1XFXxx8veuf7pEbkdq+B+wBI1gFAXf0roxx4sPhini1bUArEGc=
=3gJb
-----END PGP SIGNATURE-----

--------------enigB7DE0CD805847F61942C506F--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019