Prev: Prizes worth 104,000 INR at stake for RAD. Certificates to all participants.
Next: USB stick rescue (no MBR no Partition) "Code 10"
From: Ryan Chan on 27 Feb 2010 03:24 Is it possible to sort a CSV file using command? I want to sort the by a particular field
From: Ryan Chan on 27 Feb 2010 03:29 On 2æ27æ¥, ä¸å4æ24å, Ryan Chan <ryanchan...(a)gmail.com> wrote: > Is it possible to sort a CSV file using command? > > I want to sort the by a particular field http://www.linuxask.com/questions/how-to-sort-a-file-by-n-column Found the answer, thanks anyway.
From: Reinardt Behm on 27 Feb 2010 05:03
On Saturday 27 February 2010 09:24 Ryan Chan wrote: > Is it possible to sort a CSV file using command? > > I want to sort the by a particular field man sort Look for -k and -t options -k, --key=POS1[,POS2] start a key at POS1, end it at POS2 (origin 1) -t, --field-separator=SEP use SEP instead of non-blank to blank transition -- Reinhardt Behm, Bodenheim, Germany, reinhardt.behm(a)t-online.de |