Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using AWK for comparing 2 columns in 2 files and create 3 file .

Status
Not open for further replies.

smaripally

Programmer
Apr 14, 2003
1
US
Hi,
I am just novice Awk Programmer.
I am Looking for using awk for executing this rqmt.

1. sort file a and file b with guest_i(length 10).
2. read both the files file a and file b.
3. Read the first guest from file a and read through file b to see whether this guest_I is present in file b. If present in file b, no action. If not present, write the record from file a to third output file.

Your inputs will be very helpful.

Regards
Sai
 
Pls show us what you have so far and someone may offer help.

vlad
+----------------------------+
| #include<disclaimer.h> |
+----------------------------+
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top