From owner-freebsd-questions Thu Dec 13 15:19:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from teak.adhesivemedia.com (teak.adhesivemedia.com [207.202.159.79]) by hub.freebsd.org (Postfix) with ESMTP id A187237B405 for ; Thu, 13 Dec 2001 15:19:34 -0800 (PST) Received: from localhost (philip@localhost) by teak.adhesivemedia.com (8.11.6/8.11.6) with ESMTP id fBDNIvq61139; Thu, 13 Dec 2001 15:18:57 -0800 (PST) (envelope-from philip@adhesivemedia.com) Date: Thu, 13 Dec 2001 15:18:57 -0800 (PST) From: Philip Hallstrom To: Thomas Cannon Cc: Nathan Mace , Freebsd-questions Subject: Re: whats this?! In-Reply-To: <20011213151258.E59438-100000@stereophonic.noops.org> Message-ID: <20011213151815.J57085-100000@teak.adhesivemedia.com> 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 Hmm... might be a bug with bash... I'm using tcsh on 4.4 as of oct-30 and PWD gets set correctly. -philip On Thu, 13 Dec 2001, Thomas Cannon wrote: > > 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