ack 3

ack 是一个类似 grep 的搜索工具,为源代码而优化。「ack is a grep-like search tool optimized for source code.」

Github星跟踪图

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-2023 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.

主要指标

概览
名称与所有者beyondgrep/ack3
主编程语言Perl
编程语言Perl (语言数: 18)
平台BSD, Linux, Mac, Windows
许可证Other
所有者活动
创建于2017-03-03 15:28:03
推送于2025-05-26 22:01:04
最后一次提交
发布数66
最新版本名称v3.9.0 (发布于 )
第一版名称2.1-worthy/ignore-dir-filters (发布于 )
用户参与
星数755
关注者数17
派生数67
提交数1k
已启用问题?
问题数346
打开的问题数145
拉请求数15
打开的拉请求数2
关闭的拉请求数21
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?