It is strange, but as often there is a valid reason. And once again is is POSIX...
See question E10 in the bash FAQ: http://tiswww.case.edu/php/chet/bash/FAQ "E10) Why does `cd //' leave $PWD as `//'? POSIX.2, in its description of `cd', says that *three* or more leading slashes may be replaced with a single slash when canonicalizing the current working directory. This is, I presume, for historical compatibility. Certain versions of Unix, and early network file systems, used paths of the form //hostname/path to access `path' on server `hostname'." ** Changed in: bash (Ubuntu) Status: New => Invalid -- cd //; pwd --> shows // when in root directory (/) https://bugs.launchpad.net/bugs/227946 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
