Need file "sorter"

John C. Broman, Jr. (john.broman@gsfc.nasa.gov)
Sat, 11 Nov 1995 23:42:37 -0500

Whether it is the most logical way to do it or not, I have all my TLEs in
one single data file (QUICKSAT.DAT) that gets scanned by QuickSat when ever
I do an evening's run.  When I get any new TLEs I add append them to the end
of this  datafile.  If these are for satellites that already exist in the
file, QuickSat uses the more current TLE, but the file now has useless lines
taking up space.  

What I need is a program that will scrub a QUICKSAT.DAT file and delete any
duplicate superceded TLEs.  This should not be too hard to write myself, by
why re-invent the wheel?  Anyone out there have such a thing?