Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Nov 2008 14:32:20 -0800
From:      Maxim Sobolev <sobomax@sippysoft.com>
To:        "ports@freebsd.org" <ports@FreeBSD.ORG>
Subject:   cd // - bash is funny???
Message-ID:  <491DFC74.2040301@sippysoft.com>

next in thread | raw e-mail | index | archive | help
[sobomax@sobomac ~]$ cd //
[sobomax@sobomac //]$ pwd
//
[sobomax@sobomac //] /bin/pwd
/
[sobomax@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@sobomac //]$ cd ///
[sobomax@sobomac /]$

Is it off-by-one error?

-Maxim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?491DFC74.2040301>