Thank u PHV for your assistance.
The 2 files ARE(after some manipulation from my side) going to be: file2 is the subset of file1 meaning all file2 RECORDS are in file1 BUT WITHOUTH THE $3 column which is the value 620 in the example I gave you.
Once again thank you guys..:-)
Thank you guys for your swift response.
The script CaKiWi you put on, it doesnt do the trick.
I post portion of these files.
FILE1
ET-653 SE-NH
ET-654 WO-EX
ET-655 WO-EX
ET-656 WO-EX
ET-657 WO-EX
ET-658 WO-EX
ET-659 WO-EX
ET-660 WO-EX
ET-661 WO-EX
ET-662 WO-EX
ET-663 WO-EX
ET-664...
Hello all,
I want to ask you if and how I can perform the following task using awk and arrays (even though they are single-dimensional).
I have 2 files of the format:
File1:
ET-123 WO
ET-135 WO
ET-158 SE
FILE2:
ET-123 WO 620
The example I give is typical but the volume of the files is...
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.