From owner-freebsd-questions Thu Dec 13 15:14:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from stereophonic.noops.org (adsl-63-195-97-84.dsl.snfc21.pacbell.net [63.195.97.84]) by hub.freebsd.org (Postfix) with SMTP id E4A7C37B416 for ; Thu, 13 Dec 2001 15:14:37 -0800 (PST) Received: (qmail 59486 invoked by uid 1000); 13 Dec 2001 23:14:38 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 13 Dec 2001 23:14:38 -0000 Date: Thu, 13 Dec 2001 15:14:38 -0800 (PST) From: Thomas Cannon To: Philip Hallstrom Cc: Nathan Mace , Freebsd-questions Subject: Re: whats this?! In-Reply-To: <20011213133639.S54029-100000@teak.adhesivemedia.com> Message-ID: <20011213151258.E59438-100000@stereophonic.noops.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I see it. It sets the $PWD to "//" for some reason. Check it out: [stereophonic tcannon]$ cd // [stereophonic //]$ pwd // [stereophonic //]$ env PWD=// HOSTNAME=stereophonic.noops.org PS1=[\h \W]\$ USER=tcannon MACHTYPE=i386--freebsd4.4 SSH2_SFTP_LOG_FACILITY=-1 MAIL=/var/mail/tcannon DISPLAY=stereophonic.noops.org:10.0 LOGNAME=tcannon SHLVL=1 MAILHOST=noops.org SHELL=/usr/local/bin/bash HOSTTYPE=i386 OSTYPE=freebsd4.4 HOME=/home/tcannon TERM=xterm-color PATH=/usr/bin:/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/libexec:/usr/local/libexec:/sbin:/usr/sbin:/usr/local/sbin:/usr/libexec:/usr/local/libexec _=/usr/bin/env OLDPWD=/home/tcannon Yes, that's a bug. -t On Thu, 13 Dec 2001, Philip Hallstrom wrote: > What do you mean? Seems like multiple slashes just get condensed into > one... at least on my machine: > > philip@teak:~% cd // > philip@teak:/% pwd > / > philip@teak:/% cd /usr//local > philip@teak:/usr/local% pwd > /usr/local > > Does it do something different on yours? > > On Thu, 13 Dec 2001, Nathan Mace wrote: > > > type 'cd //' and then do a pwd. > > > > what causes this? found it by accident > > -- > > Nathan > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message