Search Results

Search: Posts Made By: learnoutmore99
8,478
Posted By bartus11
Try: awk -F, 'NR==FNR{for (i=3;i<=NF;i++)...
Try: awk -F, 'NR==FNR{for (i=3;i<=NF;i++) a[$1","$2]=a[$1","$2]","$i;next}{$0=$0""a[$1","$2]}1' file1.txt file2.txt
Showing results 1 to 1 of 1

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