Re: Strange problem with directories containing spaces after upgrade to testing...
Arrrggghhh..... Ok, I did check for an alias, but not for bash functions
replacing cd with some "ninja on seteroid"-version of cd that does some
other stuff too... AND that does that in a bad way....(without "" around
it's argument.) Any way, problem solved, I guess bash has done som minor
changes that exposed that bug in the fuction I found in my quite old
bashrc that I starts to forget ;-)
Thanks for pointing me to the type command....
//Snaggen,
sön 2002-09-22 klockan 20.45 skrev Eric Hanchrow:
>
> [snaggen] ask:~$mkdir dir\ with\ spaces
> [snaggen] ask:~$cd dir\ with\ spaces/
> bash: cd: dir: No such file or directory
> [snaggen] ask:~$rmdir dir\ with\ spaces/
>
> It works for me. I wonder if you have an alias or shell function
> named `cd'. I don't:
>
> $ alias cd
> bash: alias: `cd' not found
> $ type cd
> cd is a shell builtin
>
> If you do, then the alias or function is probably wrong, in that it
> fails when the directory name has spaces in it.
>
> --
> PGP Fingerprint: 3E7B A3F3 96CA 8958 ACC5 C8BD 6337 0041 C01C 5276
Reply to: