Search Results

Search: Posts Made By: jostber
3,477
Posted By Franklin52
Try this: awk '/:/{if(s){$1=$1};s=s?s FS $0:$0;...
Try this:
awk '/:/{if(s){$1=$1};s=s?s FS $0:$0; next}
s{gsub(":", "", s); print s; s=""}1
END{if(s)gsub(":", "", s);print s}
' file
Showing results 1 to 1 of 1

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