How to merge two files in awk??

at xlab1.uucp at xlab1.uucp
Sat Jan 19 15:48:20 AEST 1991


 I am not sure if this question has been asked before...

 Supposing I have two files with three collumns in each. How do
 I merge the files and generate a single file with six or more 
 collumns using shell script?  for example if File A has collumns a, c, e 
 and File B has collumns b, d, f. I want to generate File C
 with collumns a,b,c,d,e,f.  Also it would be nice to be able to
 using the arithematic feature in awk...

 Finally, how do u specify the "rest of the line" in awk??

 thanks
 ashok



More information about the Comp.unix.questions mailing list