ack - grep-like text finder for large trees of text


ack is a grep-like program with optimizations for searching through large trees of source code.

Key improvements include:

  • Defaults to only searching program source code

  • Defaults to recursively searching directories

  • Uses Perl regular expressions

  • Highlights matched text


  • Search through standard input if no files specified

  • Add a --[no]comment option to grep inside or exclude comments.