Mar 5, 2008 #1 ogniemi Technical User Nov 7, 2003 1,041 PL eg. file1: aaaaaa bbbbbb cccccc file2: 111111 222222 333333 after merging - result file3: aaaaaa;111111 bbbbbb;222222 cccccc;333333 Thank you in advance.
eg. file1: aaaaaa bbbbbb cccccc file2: 111111 222222 333333 after merging - result file3: aaaaaa;111111 bbbbbb;222222 cccccc;333333 Thank you in advance.
Mar 5, 2008 1 #2 feherke Programmer Aug 5, 2002 9,540 RO Hi Code: paste -d ';' file1 file2 > file3 Feherke. http://rootshell.be/~feherke/ Upvote 0 Downvote
Mar 5, 2008 1 #3 PHV MIS Nov 8, 2002 53,708 FR As we are in the awk forum: Code: awk 'NR==FNR{a[NR]=$0;next}{print a[FNR]";"$0}' file1 file2 > file3 Hope This Helps, PH. FAQ219-2884 FAQ181-2886 Upvote 0 Downvote
As we are in the awk forum: Code: awk 'NR==FNR{a[NR]=$0;next}{print a[FNR]";"$0}' file1 file2 > file3 Hope This Helps, PH. FAQ219-2884 FAQ181-2886