Skip to content

beyondgrep/ack3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 6, 2025
3b82e4b · Feb 6, 2025
Sep 26, 2024
Feb 6, 2025
Jan 1, 2025
Jan 20, 2025
Feb 6, 2025
Nov 4, 2019
Mar 29, 2017
Jan 21, 2025
Feb 25, 2023
Apr 4, 2020
Jan 20, 2025
Jan 11, 2018
Jun 25, 2019
Aug 21, 2019
Feb 6, 2025
Jan 20, 2025
Jan 20, 2025
May 20, 2019
Jan 20, 2025
Jan 21, 2025
Sep 6, 2019
Mar 25, 2017
Mar 6, 2024
Mar 28, 2017
Mar 28, 2017
Jan 21, 2025

Repository files navigation

ack 3

ack is a code-searching tool, similar to grep but optimized for programmers searching large trees of source code. It is highly portable and runs on any platform that runs Perl.

ack is written and maintained by Andy Lester (andy@petdance.com).

Building

ack requires Perl 5.10.1 or higher, and it requires the File::Next module to be installed.

Checking prerequisites

To check ack's dependencies, run this command in the shell:

perl -MFile::Next -E'say "ack is ready to build!"'

If everything is OK, you'll see:

ack is ready to build!

If your installation of Perl is outdated, you'll see an error like this:

Unrecognized switch: -Esay "ack is ready to build!"  (-h will show valid options).

If you don't have File::Next installed, you'll see an error like this:

Can't locate File/Next.pm in @INC (@INC contains: /home/andy/...
BEGIN failed--compilation aborted.

and you'll need to install File::Next yourself:

# Install File::Next dependency
perl -MCPAN -e install File::Next

Building ack

If you've got a recent enough version of Perl and you have File::Next installed, you can build ack.

# Required
perl Makefile.PL
make
make test
sudo make install # For a system-wide installation
# - or -
make ack-standalone
cp ack-standalone ~/bin/ack3 # For a personal installation

Development

Community

See the Community page.

Please follow the Code of Conduct in all your interactions with our project.

License

Copyright 2005-2025 Andy Lester.

This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License v2.0. See also the LICENSE.md file that comes with the ack distribution.

Support

ack and beyondgrep.com are supported by DigitalOcean.