[comp.unix.internals] How to merge two files in awk??

@xlab1.uucp (01/19/91)

 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