Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!ncar!gatech!udel!haven.umd.edu!mimsy!mojo!mojo!djm From: djm@eng.umd.edu (David J. MacKenzie) Newsgroups: comp.unix.questions Subject: Re: Problems with rm -f Message-ID: Date: 14 May 91 21:55:06 GMT References: <1991May14.190816.17169@rodan.acs.syr.edu> Sender: news@eng.umd.edu (C-News) Distribution: usa Organization: Project GLUE, University of Maryland Lines: 13 In-Reply-To: jstewart@rodan.acs.syr.edu's message of 14 May 91 19:08:16 GMT In article <1991May14.190816.17169@rodan.acs.syr.edu> jstewart@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