[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash ending slash breaks stuff

From: Robert Millan
Subject: bash ending slash breaks stuff
Date: Fri, 1 Nov 2002 11:05:22 +0100
User-agent: Mutt/1.4i


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)

Robert Millan

"5 years from now everyone will be running
free GNU on their 200 MIPS, 64M SPARCstation-5"

              Andrew S. Tanenbaum, 30 Jan 1992

reply via email to

[Prev in Thread] Current Thread [Next in Thread]