Login or Register to Ask a Question and Join Our Community

Search Results

Search: Posts Made By: RudiC
5,164
Posted By RudiC
Try awk 'LAST != $1 {printf "%s%s", DL, $0;...
Try
awk 'LAST != $1 {printf "%s%s", DL, $0; LAST = $1; DL = RS; next}; {printf "\t%s", $2} END {printf RS}' file
A value1 value2 value3
B value1 value2 value3
C value1 ...
Showing results 1 to 1 of 1

 

Featured Tech Videos