Projects / multisort / Comments

Comments for multisort

26 Oct 2003 02:43 chongo

multisort v1.1.2 rollup patch
I use multisort in conjunction with the
Unfortunately multisort v1.1 has a few minor problems.
Several patches were sent to the author.
I do not know if he received them because I never
received a reply.

I recommend that multisort users consider looking at my
multisort v1.1.2 rollup patch page.
That page contains a patch to multisort v1.1, as well
as a revised multisort source that I call multisort v1.1.2.

The unofficial
multisort v1.1.2 rollup patch fixes a number of issues
related to multisort v1.1:

* Fixed sort bug where
01/Feb/2001:03:26:15 was incorrectly
sorted before
* Fixed bugs related to very old dates and dates far in
the future
* Fixed bugs related to processing empty input files
* Correctly distinguishes between file EOF and read
* Allows multisort to just process a single file (addresses
wish item in an above comment)
* Added slightly better sanity checks on timestamp
string formats
* Fixed a bug where multisort could hang on an I/O
* Correctly computes POSIX Seconds since the
Epoch values with full leapyear rules
* Speedup as per
Demiddelaer's patch (see a previous comment)
* Added -m maxage which will output only
lines less than or equal to maxage
seconds old instead of all lines
* Updated the usage message

NOTE: My rollup v1.1.2 patch is obviously unofficial.
Comments welcome.

20 Mar 2002 08:08 cybert

Re: critiques
If you want it to be faster (and yes it can be *faster*), you can use an unofficial patch here:

19 Sep 2001 00:15 rbgrn

This is a fast little util! Not only that, but it is a single file, seems pretty effecient.

My one qualm is that I am required to specify a second input file. It makes the util that much more diverse just being able to take a single file or 30 files. This really isn't a big deal, but sometimes files are already merged and just simply need to be sorted. Anyway, good work :)


Project Spotlight


An open, cross-platform journaling program.


Project Spotlight


A scientific plotting package.