The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 03-24-2002
Jimbo
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
When you say columns, I assume you mean columnized data separated by white space, instead of character positions. If so, this should work:

Code:
sort -k2b,2 -k3b,3 -k10b,10 -k4b,4 myfile