Search Results

Search: Posts Made By: Franklin52
4,115
Posted By Franklin52
Hi alister, Your right, I misread the...
Hi alister,

Your right, I misread the question. Thanks for the fix and explanation. :b:

Regards
4,115
Posted By Franklin52
If the data is ordered by the 1e column, this...
If the data is ordered by the 1e column, this should work fine:
awk '$1==k{s=s "," $2; next}
s{print s}
{s=$0;k=$1}
END{print s}' file
4,115
Posted By Franklin52
Are the lines sorted by the first column?
Are the lines sorted by the first column?
Showing results 1 to 3 of 3

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