Hi Folks,
I need help with the "sort" command syntax. Essentially, I would like to sort the data (in descending order) on the second field
Sample Data:
============
:03.mpg: 14
:03TB.mpg: 8
:04TV_NR.mpg: 8
:102_FINAL.MPG: 11
Desired Results:
=================
:03.mpg: 14
:102_FINAL.MPG: 11
:03TB.mpg: 8
:04TV_NR.mpg: 8
My sort command:
================
sort +0nr title_count.log | more
Needless to say, the above command does not give me the correct order.
I shall appreciate any assistance.
Thanks in advance.
rogers42
I need help with the "sort" command syntax. Essentially, I would like to sort the data (in descending order) on the second field
Sample Data:
============
:03.mpg: 14
:03TB.mpg: 8
:04TV_NR.mpg: 8
:102_FINAL.MPG: 11
Desired Results:
=================
:03.mpg: 14
:102_FINAL.MPG: 11
:03TB.mpg: 8
:04TV_NR.mpg: 8
My sort command:
================
sort +0nr title_count.log | more
Needless to say, the above command does not give me the correct order.
I shall appreciate any assistance.
Thanks in advance.
rogers42