Xref: utzoo comp.unix.questions:28132 comp.unix.internals:1851 Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!cs.utexas.edu!romp!auschs!d75!xlab1.uucp! From: @xlab1.uucp Newsgroups: comp.unix.questions,comp.unix.internals Subject: How to merge two files in awk?? Message-ID: <3404@d75.UUCP> Date: 19 Jan 91 04:48:20 GMT Sender: news@d75.UUCP Reply-To: @xlab1.uucp () Followup-To: comp.unix.questions Organization: IBM AWD, Austin, TX Lines: 14 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