in reply to Re^2: find the xml files
in thread find the xml files
Probably because you have too many XML files that contain <book></book>. Look into xargs, or the - option for grep.
$ find /path -name '*.xml' -exec grep 'pattern1' {} /dev/null \; | cut -d: -f1 | grep 'pattern2' -
|
|---|