Files as files

From: Doug Yowza <yowza_at_yowza.com>
Date: Thu Jun 11 23:25:57 1998

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
Received on Thu Jun 11 1998 - 23:25:57 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:31:04 BST