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' -
In reply to Re^3: find the xml files
by bv
in thread find the xml files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |