bug-textutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

I have a problem with sort


From: Diego Dallapè
Subject: I have a problem with sort
Date: Wed, 31 Oct 2001 17:53:50 +0100

Hello
I need to use the sort command with the following parameters:

sort -o /tm/pippo.out -t"|" +1n -2 +2n -3 +7n -8 +4n -5 +20 -21 +36 -37
/tmp/pippo3

but it accepts only the first 2 parameters (+1n -2) and ignores the rest.
I've also tried with the following

sort -o /tm/pippo.out -t"|" -k 2n -k 3n -k 8n -k 5n -k 21  /tmp/pippo3

and it worked fine.
Can you suggest how to make the first command work ?
Thanks for any kind of help.

address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]