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' :
[EMAIL PROTECTED] ~ $ cd /var
[EMAIL PROTECTED] /var $ cd //var
[EMAIL PROTECTED] //var $ pwd
//var
[EMAIL PROTECTED] //var $ cd ///var
[EMAIL PROTECTED] /var $ cd ////var
[EMAIL PROTECTED] /var $ rpm -q bash
bash-2.05b-34
[EMAIL PROTECTED] /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.
--
TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc