[Israel.pm] On ack and GNU grep

Yuval Kogman nothingmuch at woobling.org
Mon Aug 20 00:40:47 PDT 2007

On Mon, Aug 20, 2007 at 07:22:30 +0000, Mikhael Goikhman wrote:
> But it is written in pure perl, so it should be quite slower then grep.

The point of ack is not in the 'grep' bit but in the -r bit.

Think of it as grep -r with find(1) options and a set of default
rules for programming languages.

So while it probably won't go through files faster than grep,
chances are it'll provide the results you want faster in most cases
that it is the right tool.

  Yuval Kogman <nothingmuch at woobling.org>
http://nothingmuch.woobling.org  0xEBD27418

More information about the Perl mailing list