From owner-freebsd-ports@FreeBSD.ORG Fri Nov 14 23:13:30 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C21B106567C for ; Fri, 14 Nov 2008 23:13:30 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA06.westchester.pa.mail.comcast.net (qmta06.westchester.pa.mail.comcast.net [76.96.62.56]) by mx1.freebsd.org (Postfix) with ESMTP id 0B17B8FC12 for ; Fri, 14 Nov 2008 23:13:28 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA14.westchester.pa.mail.comcast.net ([76.96.62.60]) by QMTA06.westchester.pa.mail.comcast.net with comcast id f9nd1a0011HzFnQ56BCeBu; Fri, 14 Nov 2008 23:12:38 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA14.westchester.pa.mail.comcast.net with comcast id fBD81a00C2P6wsM3aBD94c; Fri, 14 Nov 2008 23:13:09 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=m5b5bdEFiBsfkVHzaP0A:9 a=c5FmrHcWkdwhSLP9YLvb5k8VH2oA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id E60A433C36; Fri, 14 Nov 2008 15:13:24 -0800 (PST) Date: Fri, 14 Nov 2008 15:13:24 -0800 From: Jeremy Chadwick To: Maxim Sobolev Message-ID: <20081114231324.GA57195@icarus.home.lan> References: <491DFC74.2040301@sippysoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <491DFC74.2040301@sippysoft.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: "ports@freebsd.org" Subject: Re: cd // - bash is funny??? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Nov 2008 23:13:30 -0000 On Fri, Nov 14, 2008 at 02:32:20PM -0800, Maxim Sobolev wrote: > [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? 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 |