in reply to Sort a 2D array based on 2 columns
$ cat junk.txt AGCT:0:370:1 AGGT:3:52:1 TGAA:2:233:0 AGAG:0:32:0 $ sort -t: -k2,3 junk.txt AGAG:0:32:0 AGCT:0:370:1 TGAA:2:233:0 AGGT:3:52:1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sort a 2D array based on 2 columns
by masala_curry (Novice) on Apr 26, 2009 at 07:17 UTC | |
by Anonymous Monk on Apr 26, 2009 at 08:16 UTC | |
by lostjimmy (Chaplain) on Apr 26, 2009 at 15:02 UTC |