[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell-mode flakey
From: |
Miles Bader |
Subject: |
Re: shell-mode flakey |
Date: |
Wed, 19 Dec 2007 09:31:38 +0900 |
Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> writes:
> When I discussed this some time ago with one of the bash
> maintainers, he said that he had just recovered all files of a
> colleague who had typed "rm foo *" instead of "rm foo*". For those
> and only those cases I'd like to have a reliable interactive query
> before rm will do its job.
One simple possibility might be a "--query-if-multiple" option, which
would act like -i if there was more than one command-line filename
argument.
That wouldn't help for all cases, but I think it would catch a large
proportion of common typos...
-Miles
--
`There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.'