The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 09-04-2008
user_prady user_prady is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 163
Quote:
Originally Posted by Annihilannic View Post
The following will sort first by the first key, numerically, and then by the second key alphabetically:


Code:
sort -k1,1n -k2,2 file1 file2 > file3
Thanks for your reply But I want to sort reverse for the second key ..