"Richard E. Hawkins" wrote:
>
> Several months ago, in one of those tragic typing accidents, I
> inserted a space into "rm -r *~" on my laptop. I ceased using it
Can't help you, but this is an obvious stupidity in rm.
rm -r [asterisk] ~ makes no sense. I think rm should be modified to
strip blanks after an *. Granted you might want something like rm -r a*
b*, but even that is
dangerous. There already exists a routine in fileutils to
strip_trailing_slashes,
I think strip_trailing_blanks_from_asterisks would be a good thing.
But it seems that fileutils may have problems with file names containing
blanks also. This would be OT for LyX except that LyX does not provide a
delete file option, so users are stuck with rm.
Garst