Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2002 00:12:30 +0200
From:      Stijn Hoop <stijn@win.tue.nl>
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:  <20020924221230.GL2009@pcwin002.win.tue.nl>
In-Reply-To: <p05111701b9b690600e72@[128.113.24.47]>
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

--EVcIhgQsEzAXu06J
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Sep 24, 2002 at 06:03:15PM -0400, Garance A Drosihn wrote:
> 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.
>=20
> What ever happened to the idea of using '--' to mean "all the following
> arguments are files, even if they look like options"?
>=20
> After all, every other option is also "a valid filename", so what is
> so special about "+N"?
>=20
> 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.
>=20
> Just MO, of course.

FWIW, I also agree.

Furthermore, if you 'fix' sort, you should fix less also (and possibly othe=
rs):

[stijn@pcwin165] </var/db/pkg/webalizer-2.1.10_1> less +COMMENT=20
Missing filename ("less --help" for help)

admittedly this is on -STABLE, but I don't think it's different on -CURRENT.
And I know less is probably not in POSIX, but I'm thinking about consistenc=
y.

--Stijn

--=20
"What if everything you see is more than what you see -- the person next to
you is a warrior and the space that appears empty is a secret door to anoth=
er
world? What if something appears that shouldn't? You either dismiss it, or =
you
accept that there is much more to the world than you think. Perhaps it real=
ly
is a doorway, and if you choose to go inside, you'll find many unexpected
things."
		-- Shigeru Miyamoto

--EVcIhgQsEzAXu06J
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9kONOY3r/tLQmfWcRAsD7AKC0Jaf3tplb4nxxTgOb/WphJYHI3wCeMZpl
Utd/MxdXJ3a+sfbB5//Qsjo=
=OPpU
-----END PGP SIGNATURE-----

--EVcIhgQsEzAXu06J--

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?20020924221230.GL2009>