Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 1999 23:28:23 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        jkoshy@FreeBSD.org
Cc:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/bin/rm rm.c 
Message-ID:  <199902260428.XAA29074@khavrinen.lcs.mit.edu>
In-Reply-To: <199902260340.TAA60258@freefall.freebsd.org>
References:  <199902260215.VAA26573@khavrinen.lcs.mit.edu> <199902260340.TAA60258@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 25 Feb 1999 19:40:09 -0800 (PST), jkoshy@FreeBSD.org said:

>> >   Don't emit usage() message when no arguments given to -f.  This
>> >   appears to be consistent with other Unixen, like Solaris.
>> 
>> It is also wrong, by my reading of POSIX.1.

> POSIX 1003.2-1992, section 4.53.3 says:

> 	-f 	Do not prompt for confirmation.  Do not write diagnostic
> 		messages or modify the exit status in the case of 
> 		non-existent operands.  Any previous occurrences of the
> 		-i option shall be ignored.

Note that it doesn't say anything about command-line syntax errors.
The synopsis quite clearly specifies that at least one argument must
be specified.  See the Rationale.

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902260428.XAA29074>