From owner-freebsd-stable Tue Jan 26 23:35:24 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA09836 for freebsd-stable-outgoing; Tue, 26 Jan 1999 23:35:24 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from nefertiti.lightningweb.com (nefertiti.lightningweb.com [198.68.191.157]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA09831 for ; Tue, 26 Jan 1999 23:35:22 -0800 (PST) (envelope-from keith@lightningweb.com) Received: from localhost (keith@localhost) by nefertiti.lightningweb.com (8.8.7/8.8.5) with SMTP id XAA13154; Tue, 26 Jan 1999 23:34:30 -0800 (PST) Date: Tue, 26 Jan 1999 23:34:30 -0800 (PST) From: Keith Woodman To: markf@prophecy.com.au cc: freebsd-stable@FreeBSD.ORG Subject: RE: rm with no arguments... In-Reply-To: <000e01be49c0$3aba29e0$297f15cb@prophecy.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Maybe it's just me being stupid but, I've always just aliases rm in my profile to a -f . Keith ---------------------------------------------------------------------- Keith Woodman Technical Coordinator Keith@lightningweb.com Lightningweb LLC pid 7962 (sniffit), uid 0: exited on signal 10 (core dumped) ---------------------------------------------------------------------- On Wed, 27 Jan 1999, Mark at Prophecy Technologies Support Centre wrote: > Jon Hamilton, Wednesday, January 27, 1999 5:26 PM said: > >On 3.0-STABLE from this past Saturday, rm -f with no arguments _does_ > >complain. > > I can confirm this on 2.2.8 stable also (as of Dec98). > Does anyone use a script where this hasn't produced output? > The man page says it stays quiet if the file(s) mentioned on the command line don't exist. It doesn't say what happens if no command-line option is given. As a temporary work-around (just to shut it up), try specifying a "guaranteed dummy" filename as a dummy argument: > > rm -f dummy_file_9227182168627817267817863783678145.txt {etc...} > > > > ************************************************************ > Markfried Fellensiek, Senior Technical Consultant > Prophecy Technologies Pty Ltd 399 High Street Ashburton > VIC 3147, Australia PH: (03) 9886 0899, FAX: (03) 9886 0269 > e-mail: markf@prophecy.com.au web: www.prophecy.com.au > ************************************************************ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message