no, i have a file with the three columns, and i want to sort first based on the last column and then sort the second column numerically......and i need to sort the file....i tried using sort -k 3 -n -r -k 2 filein -o fileout but it didn' get the results i expected
sorry, i'm new to perl, so if some of the questions are obvious, i apologize.....what's the purpose of this line?
map { $_ ,/(\w+)\s+(\w+)\s+(\w+)/} <DATA>