From owner-freebsd-hackers Wed Apr 10 9: 0:44 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from reiher.informatik.uni-wuerzburg.de (wi4d22.informatik.uni-wuerzburg.de [132.187.101.122]) by hub.freebsd.org (Postfix) with ESMTP id A767537B400 for ; Wed, 10 Apr 2002 09:00:39 -0700 (PDT) Received: by reiher.informatik.uni-wuerzburg.de (Postfix, from userid 1001) id 14DB3AEE3; Wed, 10 Apr 2002 18:00:38 +0200 (CEST) Date: Wed, 10 Apr 2002 18:00:38 +0200 From: Matthias Buelow To: Dag-Erling Smorgrav Cc: Bogdan TARU , freebsd-hackers@FreeBSD.ORG Subject: Re: 'rm' incompatibility with Posix.2 Message-ID: <20020410160038.GA71167@reiher.informatik.uni-wuerzburg> References: <20020410091302.Y79904-200000@fw.cgn.icom> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dag-Erling Smorgrav writes: >Please don't. This functionality is extremely useful. Consider this: It may be useful but it is nonstandard. >In my humble opinion, Solaris (and every other *nix) is broken in this >respect, and *BSD is correct. How do you define "correctness"? Solaris ls(1) non-arguably conforms to XPG/4 / SuSV2, the current UNIX(tm) standard, and FreeBSD ls(1) doesn't. On Solaris (and SuSV2), you can get the desired behaviour with ls -f (force interpretation as a directory), which of course collides with BSD ls' "-f Output is not sorted". IMHO standardization and interoperability are more important than a small and questionable gain from using incompatible interfaces. If you want the interface to change, change the standard. And no "the good thing with standards is that there are so many to chose from" rants please; 4.xBSD is not a standard, SuSV2 is and I surely don't want to follow down the path which you hint at with "every other *nix is broken...and *BSD is correct". --mkb (a proponent of /usr/ucb for the incompatible cruft) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message