bug-bash
[Top][All Lists]
Advanced

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

Re: feature request: please add a zsh-AUTO_REMOVE_SLASH-like option


From: Jim Meyering
Subject: Re: feature request: please add a zsh-AUTO_REMOVE_SLASH-like option
Date: 20 May 2001 21:45:54 +0200
User-agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.0.104

Hi again, Chet

Do you think there's hope for 2.06?

I'm even more concerned, now, because I'm about to change rm and rmdir
(in the GNU fileutils) so that they no longer strip trailing slashes.
POSIX forbids that.  Such a change will be very annoying for those
who use file name completion but who lack a feature like zsh's
AUTO_REMOVE_SLASH option.

With the change I'm planning, `rm -r some-directory/' will fail
because POSIX says it must be treated as being equivalent to
`rm -r some-directory/.', and we can't remove `.' or `..'.  So it'd sure
be nice if there were a way to continue using Bash's file name completion
on a directory that I'm about to remove, without manually having to
erase that trailing slash or to use a --strip-trailing-slashes option
like I added to cp and mv (now in fileutils-4.1).

Here's my original request:
  http://mail.gnu.org/pipermail/bug-bash/2000-January/000220.html

What do you think, now?

Jim

Chet Ramey <chet@nike.ins.cwru.edu> wrote:
| > Sorry to insist, but I wanted to make sure you saw the request.
| > Is there any hope?
|
| There is hope, but not for bash-2.04.  That's feature-frozen.



reply via email to

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