cd into // works?

Eric Anderson anderson at centtech.com
Tue Feb 22 20:41:13 GMT 2005


Kris Kennaway wrote:
> On Tue, Feb 22, 2005 at 09:19:52PM +0100, Andreas Kohn wrote:
> 
>>Hi,
>>
>>due to a typo, I typed
>>
>>[klamath] ~>cd //
>>
>>today. Okay, I'm used to the shell[1] changing any // into /, so I
>>expected to get to /. Now, I got there, but pwd/$PWD still have "//" in
>>them?
> 
> 
> This is presumably a function of your shell.

I think this is a function of how pwd is displaying the path - with a trailing slash or without.  

Eric




-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
I have seen the future and it is just like the present, only longer.
------------------------------------------------------------------------


More information about the freebsd-current mailing list