Search Results

Search: Posts Made By: Glyn_Mo
1,676
Posted By anbu23
awk -F'[ -]' ' { if(!a[$1] || a[$1]<$2){...
awk -F'[ -]' ' { if(!a[$1] || a[$1]<$2){ a[$1]=$2;arr[$1]=$0 } } END { for(i in arr){ print arr[i] } } ' file
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 01:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy