Thanks for the reply...
However, I get a syntax error:
./ccc.awk Customers.txt Orders.txt
awk: syntax error near line 13
awk: illegal statement near line 13
awk: syntax error near line 15
awk: bailing out near line 15
which are:
FILENAME == ARGV[1] {
if ( !($1 in lines) ) { #line 13...
Hi All,
I have 2 data files:
#1) Customer.txt which has the following:
ARRON, Germany, Sales, Jack
PHILLIP, Sweden, Programmer, Anna
JERRY, Mexico, Administrator, John
....and so on....
#2) Order.txt which has the following
203, PHILLIP, 9-Jul-88, 13-Sep-03
1429, ARRON, 12-Sep-86, 8-Feb-87...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.