Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 1999 17:42:36 +1100
From:      "Mark at Prophecy Technologies Support Centre" <mark@prophecy.com.au>
To:        <freebsd-stable@FreeBSD.ORG>
Subject:   RE: rm with no arguments... 
Message-ID:  <000e01be49c0$3aba29e0$297f15cb@prophecy.com.au>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000e01be49c0$3aba29e0$297f15cb>