Date: Wed, 25 Sep 2002 00:50:57 -0400 From: Mike Barcroft <mike@FreeBSD.org> To: Garance A Drosihn <drosih@rpi.edu> Cc: "Andrey A. Chernov" <ache@nagual.pp.ru>, Julian Elischer <julian@elischer.org>, Peter Wemm <peter@wemm.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libncurses Makefile Message-ID: <20020925005057.P14878@espresso.q9media.com> In-Reply-To: <p05111701b9b690600e72@[128.113.24.47]>; from drosih@rpi.edu on Tue, Sep 24, 2002 at 06:03:15PM -0400 References: <20020924203449.42E932A7D6@canning.wemm.org> <Pine.BSF.4.21.0209241338580.41579-100000@InterJet.elischer.org> <20020924204954.GB60957@nagual.pp.ru> <p05111701b9b690600e72@[128.113.24.47]>
next in thread | previous in thread | raw e-mail | index | archive | help
Garance A Drosihn <drosih@rpi.edu> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020925005057.P14878>
