Search Results

Search: Posts Made By: jim mcnamara
1,814
Posted By jim mcnamara
sort -k4 infile | awk '{print $4, $3} ' | awk...
sort -k4 infile | awk '{print $4, $3} ' |
awk '{arr[$1]=arr[$1] " " $2} END {for (i in arr) {print arr[i] }} '

This sorts , pulls out the fields of interest, aggregates them, then prints thm.
Showing results 1 to 1 of 1

 

Featured Tech Videos

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