[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cd // && pwd shows "//"
From: |
Chet Ramey |
Subject: |
Re: cd // && pwd shows "//" |
Date: |
Mon, 10 Sep 2001 08:48:52 -0400 |
> Machine Type: i686-pc-linux-gnu
>
> Bash Version: 2.05
> Patch Level: 0
> Release Status: release
>
> Description:
> cd // && pwd yields "//". This is weird because cd /// && pwd
> shows simply "/". *shrug* I know this is minor, but it could
> be indicative of another problem.
>
> Repeat-By:
> cd // && pwd
POSIX.2 says two leading slashes in a pathname are to be left alone.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)
Chet Ramey, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/