1

Creating a Third File from Information Contained in Two Files

view story
linux-howto

http://www.unix.com – In advance, I appreciate any help or tips. I apologize for not providing examples of scripts I have already tried, the reason is that I am new to programming and do not really no where to start. I think this is possible with awk, but do not know how to go about learning how to write the script that would do the trick (ie, which commands to read up on). I have two files: File1 ID X 001 2 002 2 003 1 004 1 005 2 006 1 007 2 008 1 009 1 010 1 File2 ID Y 003 1 004 1 008 1 010 1 I would like to create a third file, File3, from File1 and File2 based on the (HowTos)