On Fri, 12 Jun 1998, Pete Turnbull wrote:
"rm -i
./*" would be better, but would not work for files with control
characters or spaces.
It does on SystemV-based systems, and others I've tried.
Holy Cow. You're right: "rm -i *" is not the same as "rm -i `echo
*`"
(shell expansion is smarter than I thought, but it may depend on the
shell).
And "rm -i *" prompts even with
"-f".
Not on Linux, at least.
AFAIK, all rm's have -r.
I know -r is a fairly recent addition to "cp", but you may be right about
"rm". Anybody have a V1 system they can test on? :-)
-- Doug