Re: Bash: $PWD after 'cd //usr//bin'

2005-12-08 Thread Jörg W Mittag
Brandin Creech wrote: > Has anyone noticed this: in Bash, the command > > cd //usr//bin > > causes PWD to become "//usr/bin" instead of "/usr/bin". Yes, that's how it's supposed to be. Or maybe it isn't. Or ... more on that later. > Bash's normal > behavior is to replace all repeated /'s with

Re: Bash: $PWD after 'cd //usr//bin'

2005-12-08 Thread Brandin Creech
--- Randy McMurchy <[EMAIL PROTECTED]> wrote: > Brandin Creech wrote these words on 12/08/05 12:09 CST: > > Has anyone noticed this: in Bash, the command > > > > cd //usr//bin > > > > causes PWD to become "//usr/bin" instead of "/usr/bin". > > [snip] > > But does anyone know how to fix this. >

Re: Bash: $PWD after 'cd //usr//bin'

2005-12-08 Thread Randy McMurchy
Brandin Creech wrote these words on 12/08/05 12:09 CST: > Has anyone noticed this: in Bash, the command > > cd //usr//bin > > causes PWD to become "//usr/bin" instead of "/usr/bin". > [snip] > But does anyone know how to fix this. Don't issue the command 'cd //usr//bin'. :-) -- Randy rmlsc

Bash: $PWD after 'cd //usr//bin'

2005-12-08 Thread Brandin Creech
Has anyone noticed this: in Bash, the command cd //usr//bin causes PWD to become "//usr/bin" instead of "/usr/bin". Bash's normal behavior is to replace all repeated /'s with a single slash. Right now I'm using Bash 3.00.16, but I've also tried older versions and noticed the same behavior. This