Re: A new sort utility

2003-09-15 Thread Garance A Drosihn
At 9:47 PM -0400 9/15/03, Richard Coleman wrote: Garance A Drosihn wrote: At 8:53 PM +1000 9/15/03, Tim Robbins wrote: Comments/patches are welcome. As the "History" suggestion of the manual page suggests, my plan is to get this in to FreeBSD 6, along with replacements for some other GNU tools. Mi

Re: A new sort utility

2003-09-15 Thread Doug Barton
On Mon, 15 Sep 2003, Richard Coleman wrote: > Garance A Drosihn wrote: > > At 8:53 PM +1000 9/15/03, Tim Robbins wrote: > > > >> Comments/patches are welcome. As the "History" suggestion > >> of the manual page suggests, my plan is to get this in to > >> FreeBSD 6, along with replacements for some

Re: A new sort utility

2003-09-15 Thread Richard Coleman
Garance A Drosihn wrote: At 8:53 PM +1000 9/15/03, Tim Robbins wrote: Comments/patches are welcome. As the "History" suggestion of the manual page suggests, my plan is to get this in to FreeBSD 6, along with replacements for some other GNU tools. Might we put this in freebsd-current (5.x), but und

Re: A new sort utility

2003-09-15 Thread Edwin Groothuis
On Mon, Sep 15, 2003 at 08:24:00PM -0400, Garance A Drosihn wrote: > At 8:53 PM +1000 9/15/03, Tim Robbins wrote: > >Comments/patches are welcome. As the "History" suggestion > >of the manual page suggests, my plan is to get this in to > >FreeBSD 6, along with replacements for some other GNU tools.

Re: A new sort utility

2003-09-15 Thread Garance A Drosihn
At 8:53 PM +1000 9/15/03, Tim Robbins wrote: Comments/patches are welcome. As the "History" suggestion of the manual page suggests, my plan is to get this in to FreeBSD 6, along with replacements for some other GNU tools. Might we put this in freebsd-current (5.x), but under some other name? sortb

Re: A new sort utility

2003-09-15 Thread Tim Robbins
On Mon, Sep 15, 2003 at 11:43:07AM -0700, Kris Kennaway wrote: > On Mon, Sep 15, 2003 at 08:53:56PM +1000, Tim Robbins wrote: > > > It's not quite as fast as the GNU or 4.4BSD sort implementations > > Why is this? Because it spends too much time comparing lines. In particular, it seems to be sp

Re: A new sort utility

2003-09-15 Thread Kris Kennaway
On Mon, Sep 15, 2003 at 08:53:56PM +1000, Tim Robbins wrote: > It's not quite as fast as the GNU or 4.4BSD sort implementations Why is this? I often need to sort huge files, so I'd be reluctant to use an implementation with a significant performance penalty. Kris pgp0.pgp Description: PGP

Re: A new sort utility

2003-09-15 Thread Soren Schmidt
It seems Tim Robbins wrote: > Comments/patches are welcome. As the "History" suggestion of the manual page > suggests, my plan is to get this in to FreeBSD 6, along with replacements for > some other GNU tools. I have a diff(1) replacement (with sdiff support) in > the works, among other things. G

A new sort utility

2003-09-15 Thread Tim Robbins
The recent thread about BSD-licensed replacements for GNU utilities in OpenBSD has prompted me to share my reimplementation of the sort(1) utility. Most of the code is new. sort.1 and obsolete.c came from 4.4BSD via NetBSD. I've been using it instead of GNU sort on my systems for the past few month