How to Write grep in Emacs Lisp (tutorial)
Petter Gustad
newsmailcomp6 at gustad.com
Tue Feb 8 07:51:54 EST 2011
Xah Lee <xahlee at gmail.com> writes:
> problem with find xargs is that they spawn grep for each file, which
> becomes too slow to be usable.
find . -maxdepth 2 -name '*.html -print0 | xargs -0 grep whatever
will call grep with a list of filenames given by find, only a single
grep process will run.
//Petter
--
.sig removed by request.
More information about the Python-list
mailing list