[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash ending slash breaks stuff
From: |
Marcus Brinkmann |
Subject: |
Re: bash ending slash breaks stuff |
Date: |
Mon, 4 Nov 2002 01:43:21 +0100 |
User-agent: |
Mutt/1.4i |
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<tab>
> # 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?
>
> or do we have to fix bash not to add them? (note this
> would be very annoying when using shell expansion
> on multiple sub-directories)
This is a bug, and it has been fixed in glibc 2.3. Unfortunately, glibc 2.3
is broken for us in quite a severe way, and will require some difficult
debugging. I am already looking forward to that.
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' GNU http://www.gnu.org marcus@gnu.org
Marcus Brinkmann The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/