Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
How to list the XML files, which has the linefind . -type f -name "*.xml" -print -exec grep -i '<book></book>' {} \ +; find . -type f -name ".xml" -print -exec grep -i "<name=>*.*Sydney*.*" + {} \;
<book></book> and <name> which has the word "Sydney"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: find the xml files
by marto (Cardinal) on Sep 14, 2009 at 12:13 UTC | |
by grantm (Parson) on Sep 15, 2009 at 01:41 UTC | |
|
Re: find the xml files
by Utilitarian (Vicar) on Sep 14, 2009 at 12:15 UTC | |
by Anonymous Monk on Sep 14, 2009 at 12:28 UTC | |
by bv (Friar) on Sep 14, 2009 at 13:59 UTC | |
by Utilitarian (Vicar) on Sep 14, 2009 at 13:52 UTC |