On Wed, 27 Nov 2002, Brendan Moran wrote: *>Does anyone know of an algorithm for sorting extremely large files of *>linebreak-separated, case-sensitive ASCII values? *> *>I have a file that is 3,480,231kB of unsorted ASCII values, and I need it *>sorted... and, yes, I do have some idea of the time that this will take. *> *>I'm using WinXP for this, so win32 compatible utilities are a good thing *>for me. Get GNU sort.exe and uniq.exe and use them as in: uniq thefile.dat >tmp1.dat sort tmp1.dat >out.dat If you do not care about duplicates you can skip uniq. Peter -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads