Help for this page

Select Code to Download


  1. or download this
    sort -k 1n -k 2n -k 10  big.file > sorted.big.file
    
  2. or download this
    perl -lane 'push @f,[@F]; END{
     print join(" ",@$_)
      for (sort{$$a[0]<=>$$b[0] ||
                $$a[1]<=>$$b[1] ||
                $$a[9] cmp $$b[9]} @f)}' big.file > sorted.big.file