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

next in thread | previous in thread | raw e-mail | index | archive | help

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?20011213151258.E59438-100000>