cd // - bash is funny???
Jeremy Chadwick
koitsu at FreeBSD.org
Fri Nov 14 15:13:30 PST 2008
On Fri, Nov 14, 2008 at 02:32:20PM -0800, Maxim Sobolev wrote:
> [sobomax at sobomac ~]$ cd //
> [sobomax at sobomac //]$ pwd
> //
> [sobomax at sobomac //] /bin/pwd
> /
> [sobomax at sobomac //]
>
> What's that? Happens on bash 3.x, checked range of boxes from 6.x to 8.x
> and arches from powerpc to amd64. "cd ///" at the same time is OK:
>
> [sobomax at sobomac //]$ cd ///
> [sobomax at sobomac /]$
>
> Is it off-by-one error?
The Bash FAQ covers this, I think. See E10.
--
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |
More information about the freebsd-ports
mailing list