For Programmers: Free Programming Magazines  


Home > Archive > AWK > April 2005 > help combining fields from two files using awk









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author help combining fields from two files using awk
labraham

2005-04-18, 4:36 pm

i have used awk a little bit but have never
used it with more than one file. wanted to know
if someone could help with the following:

i have file1 with just one field
and file2 with 20 fields.
i am trying to put the one field
in file1 next to $12 of file2 after line 1000.
i use excel to combine the two fields now.
can awk do this? any response is appreciated.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com