From owner-cvs-all Tue Sep 24 21:57:52 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2933137B401; Tue, 24 Sep 2002 21:57:51 -0700 (PDT) Received: from espresso.q9media.com (espresso.q9media.com [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 927C343E7B; Tue, 24 Sep 2002 21:57:50 -0700 (PDT) (envelope-from mike@espresso.q9media.com) Received: by espresso.q9media.com (Postfix, from userid 1002) id C51E39E5B; Wed, 25 Sep 2002 00:50:57 -0400 (EDT) Date: Wed, 25 Sep 2002 00:50:57 -0400 From: Mike Barcroft To: Garance A Drosihn Cc: "Andrey A. Chernov" , Julian Elischer , Peter Wemm , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libncurses Makefile Message-ID: <20020925005057.P14878@espresso.q9media.com> References: <20020924203449.42E932A7D6@canning.wemm.org> <20020924204954.GB60957@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: ; from drosih@rpi.edu on Tue, Sep 24, 2002 at 06:03:15PM -0400 Organization: The FreeBSD Project Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Garance A Drosihn writes: > At 12:49 AM +0400 9/25/02, Andrey A. Chernov wrote: > >On Tue, Sep 24, 2002 at 13:39:55 -0700, Julian Elischer wrote: > >> > >> This is silly.. the +POS syntax is probably one of the most commonly > >> used syntaxes for sort. > > > >Talk with POSIX people about it. +N is valid filename per POSIX, so > >old syntax can't be preserved. > > What ever happened to the idea of using '--' to mean "all the following > arguments are files, even if they look like options"? > > After all, every other option is also "a valid filename", so what is > so special about "+N"? > > We can preserve anything we want to preserve, and document where our > sort command is different from posix. Maybe at some future time it > will be less painful to drop +N, but we will have enough pain with > release 5.0 that we don't need to add this incompatible change. > > Just MO, of course. The logic could be written: interpret +foo as filename if file doesn't exist display warning about deprecated usage do the historical thing Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message