Problems with rm -f

David J. MacKenzie djm at eng.umd.edu
Wed May 15 07:55:06 AEST 1991


In article <1991May14.190816.17169 at rodan.acs.syr.edu> jstewart at rodan.acs.syr.edu (Ace Stewart) writes:

> Problem: When running a "rm -f" on files that may or may not be in a
> sub-directory, the -f doesn't seem to suppress the error output if a
> file doesn't exist. Script as follows:

> % rm -f .Mail/drafts/,*			Do it again, _problems!_
> No match.

That's the C Shell printing that message -- rm never even gets run, if
you give a globbing pattern that doesn't match any files.
--
David J. MacKenzie <djm at eng.umd.edu> <djm at ai.mit.edu>



More information about the Comp.unix.questions mailing list