[ale] sorting large delimited text files

fletch at phydeaux.org fletch at phydeaux.org
Wed Jul 6 16:24:18 EDT 2005


> I have some text files that I need to sort.  Each file is (roughly) 2200
> pages (134,000+ rows) of comma delimited text.
>
> the text looks like so:
> 2117496.796445,882112.506031,483.908997
>
[...]
> Most likely I will have to sort the files by the third column / number
> (initially at least).
>
> How else can I sort these files quickly?

sort -t, +3 -4 -n myfile

-- 
Fletch                | "If you find my answers frightening,       __`'/|
fletch at phydeaux.org|  Vincent, you should cease askin'          \ o.O'
                      |  scary questions." -- Jules                =(___)=
                      |                                               U




More information about the Ale mailing list