Computing.Net > Forums > Unix > Record filtering - 2 input files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Record filtering - 2 input files

Reply to Message Icon

Name: Losorio
Date: December 8, 2003 at 05:39:17 Pacific
OS: SCO Open Server 5
CPU/Ram: Unknown
Comment:

I need a script to filter out records (50,000 plus) from two arrays using a field column and outputs to a new file. Example.
File 1:
AAAA xxxxx
BBBB xxxxx
CCCC xxxxx
DDDD xxxxx
File 2:
BBBB xxxxx
DDDD xxxxx
Desired output:
AAAA xxxxx
CCCC xxxxx

If i do a multiple loop that would read each line, it might take a long processing time?Any help is appreciated. Thanks.



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


execute shell file every ... strange behaviour in shel...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Record filtering - 2 input files

how to fetch the fileds from 2 text files? www.computing.net/answers/unix/how-to-fetch-the-fileds-from-2-text-files/8373.html

read input file variables www.computing.net/answers/unix/read-input-file-variables/5520.html

pass 2 input files to awk script www.computing.net/answers/unix/pass-2-input-files-to-awk-script/4448.html