Each article looks something like
#Date: 12/31/1996 #Author: John Long #Subject: Horse riding In article <526378.78782> jwayne@ucla.edu (John Wayne) writes >.......I do not know of any sorting program that can handle such multiple line records, where fields are found by non trivial criteria. So I had to write my own. The above and almost every imaginable sorting problem can be handled by Super Sort 0.2 written by me.
In this particular example the type of records and the indicated sorting are specified with
SSORT -E ^#Date.*\n#Author:\20$@\20@\n -M S2S1 in.txt out.txtThis may not be pretty, but the problem too wasn't.
You may want to look at the test report.
I did a fair test. I looked for the best available programs with the
same features (sorting files unlimited in length, running under plain MSDOS).
Then I did the test and reported the result. I did not fix any bugs
in my program and then repeat the test. I did find some problems though...
but not in my program.