datamaskinen

Thomas Frössman's blog on programming, technology, tools, or something like that.

Ack

| Comments

Ack is a command line search tool that somewhat resembles the standard unix general search tool grep.

Ack is specifically targeted for searching source code. It’s generally more convenient to use than grep since it has an built in list of source code file types it knows and nice default highlitning.

Example search:

$ ack-grep glMatrix

ack

Installation

The Ubuntu/Debian apt package name is ack-grep , install by typing

sudo apt-get intall ack-grep

For other operating systems and ways of installing, see the ack homepage.

Comments