Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2001 15:18:57 -0800 (PST)
From:      Philip Hallstrom <philip@adhesivemedia.com>
To:        Thomas Cannon <tcannon@noops.org>
Cc:        Nathan Mace <nmace85@yahoo.com>, Freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: whats this?!
Message-ID:  <20011213151815.J57085-100000@teak.adhesivemedia.com>
In-Reply-To: <20011213151258.E59438-100000@stereophonic.noops.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011213151815.J57085-100000>