>> I accidently typed cd // on one of my slackware 7.0 boxes.
>> Surprisingly it happily took me to //, which seems to be an alias for the /
>> directory.
Two leading slashes leads to implementation-defined behaviour, per POSIX.
That's why bash leaves them alone. Three or more leading slashes are
equivalent to a single one.
So don't use two leading slashes in your scripts if you want to be portable,
but you can use two slashes (as another way of writing a single slash) when
they're in the middle or at the end.
--
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug