Search Results

Search: Posts Made By: John Lyon
2,541
Posted By danmero
Base on your data sample try the following...
Base on your data sample try the following one-liner
awk 'END{for(l=1;l++<NF;)print o[l]}{for(l=I;l++<NF;){o[l]=((o[l])?o[l]FS:S)$l}}' file


Since this is your first post please read and...
2,541
Posted By Don Cragun
I'm not sure what you mean by: If you're saying...
I'm not sure what you mean by:
If you're saying that a single "name" can appear more than once in your input file and that when that happens the input lines need to be combined somehow, you need to...
Showing results 1 to 2 of 2

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