[TriLUG] cd //
Frye, Matthew
Matthew.Frye at rexhealth.com
Fri Jan 23 15:04:52 EST 2004
That's pretty interesting; it seems like a bash bug to me. I don't
think it would matter, as consecutive slashes are always condensed
to a
single slash when a file is being opened, etc, but it's still odd.
I
noticed it only does this with exactly two slashes, and that it also
shows up in the output of 'pwd' :
jeremy at jeremy ~ $ cd /var
jeremy at jeremy /var $ cd //var
jeremy at jeremy //var $ pwd
//var
jeremy at jeremy //var $ cd ///var
jeremy at jeremy /var $ cd ////var
jeremy at jeremy /var $ rpm -q bash
bash-2.05b-34
jeremy at jeremy /var $ cat /etc/redhat-release
Fedora Core release 1 (Yarrow)
--Jeremy, a little curious too.
I investigated this a few weeks ago. Yes, it is a bash bug, and no, it does
not matter.
More information about the TriLUG
mailing list