ack
To install the latest version, use homebrew.
- Faster
- Skips unimportant files by default
- Customizable
ack [OPTION]... PATTERN [FILES OR DIRECTORIES]
Let’s say you want to find all JavaScript files that are using the module pancakes
in your project, with ack
it’s as easy as
ack -L brew
You can customize ack
to behave the way you want it to, this configuration is stored in /.ackrc
.
For example, you can add a custom type to use as a flag when searching. The following configuration will allow you to only search in .md
, and .markdown
files using the --markdown
flag.
--color
To see what configuration ack
uses you can use the dump
flag.
There’s The Silver Surfer which describes itself as a