[kwlug-disc] BASH compare items in two files

John Van Ostrand john at netdirect.ca
Wed Nov 3 13:48:09 EDT 2010

----- Original Message -----
> A higher level language (python, perl, C, etc) program would be your
> best bet as they already have the XML parsing and data handling
> libraries that will make this task a cinch.
> 1. Load the list of IDs into a searchable list
> 2. Using a SAX parser compare the ID of every node against the list
> 3. Done!

Oops I should read more carefully. He asked what a real programmer would do. 
John Van Ostrand 
CTO, co-CEO 
Net Direct Inc. 
564 Weber St. N. Unit 12, Waterloo, ON N2L 5C6 
Ph: 866-883-1172 x5102 
Fx: 519-883-8533 

Linux Solutions / IBM Hardware 

More information about the kwlug-disc mailing list