From owner-cvs-all Thu Feb 25 20:28:42 1999 Delivered-To: cvs-all@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 26BB314DD6; Thu, 25 Feb 1999 20:28:39 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.1/8.9.1) id XAA29074; Thu, 25 Feb 1999 23:28:23 -0500 (EST) (envelope-from wollman) Date: Thu, 25 Feb 1999 23:28:23 -0500 (EST) From: Garrett Wollman Message-Id: <199902260428.XAA29074@khavrinen.lcs.mit.edu> To: jkoshy@FreeBSD.org Cc: Garrett Wollman , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/bin/rm rm.c In-Reply-To: <199902260340.TAA60258@freefall.freebsd.org> References: <199902260215.VAA26573@khavrinen.lcs.mit.edu> <199902260340.TAA60258@freefall.freebsd.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk <> > 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