[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] sorting large delimited text files
- Subject: [ale] sorting large delimited text files
- From: fletch at phydeaux.org (fletch at phydeaux.org)
- Date: Wed Jul 6 16:24:18 2005
- In-reply-to: <ED82B8B59EA2D44C9E64E228028E4B34029D01@poly_ethylene.corp.polyenginee ring.com>
- References: <ED82B8B59EA2D44C9E64E228028E4B34029D01@poly_ethylene.corp.polyengineering.com>
> 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