Need Advice!

Jay Patel jayd at rruxi.bae.bellcore.com
Fri Aug 17 00:41:35 AEST 1990


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 at cellar.bae.bellcore.com        |



More information about the Comp.lang.c mailing list