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
--- 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.
>
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
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