Re: bash ending slash breaks stuff

2002-11-03 Thread Marcus Brinkmann
On Fri, Nov 01, 2002 at 11:05:22AM +0100, Robert Millan wrote: > when using Bash expansion on directories, it will > print them with a trailing slash. this is problematic > on GNU because performing operations on these > directories will fail, eg: > > # rm -r foo > # rm -r foobar/ > # rm: cannot r

Re: bash ending slash breaks stuff

2002-11-01 Thread Niels Möller
Robert Millan <[EMAIL PROTECTED]> writes: > # rm -r foo > # rm -r foobar/ > # rm: cannot remove `foobar/': Invalid argument > > in what way is this problem suposed to be fixed? will > trailing slashes be supported by the Hurd eventualy? IIRC correctly, POSIX requires that "foobar" and "foobar/"

bash ending slash breaks stuff

2002-11-01 Thread Robert Millan
Hello! when using Bash expansion on directories, it will print them with a trailing slash. this is problematic on GNU because performing operations on these directories will fail, eg: # rm -r foo # rm -r foobar/ # rm: cannot remove `foobar/': Invalid argument in what way is this problem suposed