From owner-freebsd-stable Wed Jan 27 02:56:00 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA27574 for freebsd-stable-outgoing; Wed, 27 Jan 1999 02:56:00 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA27565 for ; Wed, 27 Jan 1999 02:55:55 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id KAA17376; Wed, 27 Jan 1999 10:55:20 GMT (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.2/8.9.2) with ESMTP id IAA01052; Wed, 27 Jan 1999 08:33:13 GMT (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199901270833.IAA01052@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: markf@prophecy.com.au cc: freebsd-stable@FreeBSD.ORG Subject: Re: rm with no arguments... In-reply-to: Your message of "Wed, 27 Jan 1999 17:42:36 +1100." <000e01be49c0$3aba29e0$297f15cb@prophecy.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 27 Jan 1999 08:33:13 +0000 From: Brian Somers Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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: [.....] The man page doesn't specify ``file'' as optional, therefore it's a usage error and must be warned about. > ************************************************************ > 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 > ************************************************************ -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message