bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Really minor bug. Curent working directory: "//"


From: Eric Blake
Subject: Re: Really minor bug. Curent working directory: "//"
Date: Fri, 29 May 2009 06:23:31 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to address@hidden on 5/29/2009 3:34 AM:
> Description:
>       Really minor bug. Bash returns "//" as current working directory after 
> changing directory to "//". Changing directory to "///" ("or to more 
> slashes") results in "/" as current working directory.

Not a bug.  POSIX allows // to be a different directory than /, and on
some platforms, such as cygwin, this is actually the case.  Therefore,
bash is required to be careful of //.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkof08MACgkQ84KuGfSFAYBmTACfYYvVeeiYzi6oRhmLDOkm1Ezl
MYQAoKYeHB2aJCXc3TabESsvnvxiON9n
=3c5B
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]