On Tue, Jun 1, 2010 at 1:16 PM, Mehul Ved <[email protected]> wrote: > On Tue, Jun 1, 2010 at 12:48 PM, sivakumar <[email protected]> wrote: >> Hi, >> >> Can you suggest me the best option to parse an xml from shell ? >><snip> > Is this what you want? > zgrep checksum /path/to/filename.xml.gz
I should have checked before replying. Some examples in perl and awk are shown here on how to work with xml files http://www.issociate.de/board/post/265610/Parse_an_XML_File_using_Shell_script.html Before that you could use something like 1. Perl -> http://search.cpan.org/~mikewong/XML-Dumper-0.81/Dumper.pm 2. Python -> http://docs.python.org/release/2.5.2/lib/module-zlib.html _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
