[comp.lang.c] Need Advice!

jayd@rruxi.bae.bellcore.com (Jay Patel) (08/16/90)

I need advice from someone out there for the following situtation.

     I have two large files each contains 3 fields separted by 
     white space. Both files are sorted. I will get the input
     from the user for the field 1 and field 2. Then, I have
     to go find the record(s) that match the given inputs in
     both files. Then I have to compare both files using third 
     field and finds the unique record. 

     Is it a good idea to use find or grep command of unix instead
     of writting a search routine. Or is there a function in C which
     would do the search automatically?

Any help or advice will be appreciated. Thanx in advance.


+------------------------------------------------+
| Jay Patel: At Bellcore, we deliver Excellence  |
| INTERNET : jayd@cellar.bae.bellcore.com        |