From owner-freebsd-current Tue Sep 24 13:51:41 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 312BB37B404; Tue, 24 Sep 2002 13:51:38 -0700 (PDT) Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E51143E75; Tue, 24 Sep 2002 13:51:38 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0268.cvx22-bradley.dialup.earthlink.net ([209.179.199.13] helo=mindspring.com) by snipe.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17tweF-0000Ch-00; Tue, 24 Sep 2002 13:51:12 -0700 Message-ID: <3D90CFD9.E0FB776A@mindspring.com> Date: Tue, 24 Sep 2002 13:49:29 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Peter Wemm Cc: Tim Robbins , Steve Kargl , Poul-Henning Kamp , current@FreeBSD.ORG Subject: Re: Who broke sort(1) ? References: <20020924203011.5EF752A7D6@canning.wemm.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter Wemm wrote: > Oh man, this is going to suck. There are thousands and thousands of third > party scripts that use +n syntax. > > I am most unhappy with this change. :-( I'll say it again: unconditionally complying POSIX is an impediment to getting real work done. 8-(. I would be very happy if a lot of the POSIX semantics could go live in a user space library somewhere, and leave programmers alone. Signals semantics and file locking alone are enough to justify that. Yeah, it's nice to have a Big Red Switch(tm) that would turn off all behaviour not mandated by some standard, so that you could flip the siwtch, and *know* that the programs you write will run anywhere the standard is implemented. It's a good goal for a platform, to let it act as a unified porting environment. The key thing here, though, is that it needs to be *a* swtich, and it needs to be a *switch*. For the particular case of "sort", it would be nice if it did what it was supposed to do, and got anal about POSIX _only_ if there was an environment variable set. Maybe there would be bonus points if the system itself could be built with the switch flipped, but that's something that can be done incrementally, later, by People Who Care(tm). Until "sh", "make", "tar", and so on also drop behaviours that are not specified by POSIX, it's really silly to make "sort" drop them. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message