ack
Website: https://beyondgrep.com
Project: https://github.com/beyondgrep/ack3
Author: Andy Lester
Alternative to: grep
License: Artistic
Language: Perl
Page updated: 2026-03-01
ack is a tool designed as a replacement for 99% of the uses of grep.
It is faster, more portable, and friendlier to the programmer. By default,
ack only searches source files — skipping .git, binary files, and other
clutter you never want to search anyway.
Why ack?
- Searches only relevant source files by default
- No need to specify file extensions — ack knows what source code looks like
- Perl-compatible regular expressions
- Readable output with file names and line numbers grouped together

Basic usage
ack pattern
ack --perl pattern # search only Perl files
ack -l pattern # list only matching filenames
ack -i pattern # case-insensitive search