CFT: new BSD-licensed sort available

Oleg Moskalenko oleg.moskalenko at
Sun Mar 18 20:00:35 UTC 2012

I guess that using a not-backward-compatible syntax would make it difficult for some users to accept. 

We are going to have a newer 1.7 build soon that supports older pre-POSIX syntax (among other improvements). 
It is "guarded" by #ifdef. If Gabor decides to eliminate this backward compatibility, he can easily 
remove -D option from the Makefile. 


-----Original Message-----
From: owner-freebsd-ports at [mailto:owner-freebsd-ports at] On Behalf Of Chad Perrin
Sent: Sunday, March 18, 2012 11:15 AM
To: freebsd-ports at
Subject: Re: CFT: new BSD-licensed sort available

On Sun, Mar 18, 2012 at 11:33:06AM -0400, Lowell Gilbert wrote:
> Oleg Moskalenko <oleg.moskalenko at> writes:
> >
> > Yes, indeed, there was an old sort syntax, where they supported it in
> > a form "+POS1 -POS2". It is a non-POSIX obsolete syntax, so we did
> > not implement it in the new BSD sort. I can add it, if necessary.
> If anyone asked for my opinion, I'd say that I'd prefer to see this
> syntax stamped out instead; it's unnecessary, confusing, and has been
> considered obsolete for decades. A quick look over my workstation's
> filesystems shows just a few uses: in texconfig, libtool, something in
> X11/config, maybe a handful more.
> I'm not sure what the best answer is in practice, but I'm willing to
> spend some of my time working on it if that helps.

I suspect the "right" answer for the near future would be to eliminate
dependence on it wherever you can get such changes accepted by upstream,
and support it as a deprecated (perhaps even undocumented) feature in
bsdsort just so it's easier to entirely eliminate any dependence on
gnusort for purposes of backward compatibility.

Chad Perrin [ original content licensed OWL: ]
freebsd-ports at mailing list
To unsubscribe, send any mail to "freebsd-ports-unsubscribe at"

More information about the freebsd-ports mailing list