반응형
Homepage: http://beyondgrep.com/
Beyond grep: ack v3.7.0
ack is a grep-like source code search tool. The latest version of ack is v3.7.0, released 2023-02-25. Designed for programmers with large heterogeneous trees of source code, ack is written in portable Perl 5 and takes advantage of the power of Perl's regul
beyondgrep.com
ack is a tool like grep, optimized for programmers.
ack는 perl로 만들어져 있고, 쉽고 엄청 빠르게 관련 문구를 검색해낼 수 있다. 기본 옵션은 recurse가 켜져 있지만 -n 옵션을 주어 끌 수도 있다. 관련 코드 확장자만 검색하여 엄청난 속도 향상을 경험할 수 있다.
필자는 yocto, openembedded에서 주로 쓰는 확장자인 conf, bb, bbappend, bbclass를 넣어 놓고 사용중에 있다. 아래는 필자의 .bashrc alias와 .ackrc 파일이다.
~/.bashrc
alias bback='ack-grep --type bitbake'
~/.ackrc
--type-set=bitbake=.bbappend,.bb,.conf,bbclass
Ubuntu에서는 apt-get install ack-grep 명령어를 사용하여 쉽게 설치하여 사용할 수 있다. vim plugin도 있어 함께 사용하면 좋을 듯 하다.
728x90
반응형
'Development' 카테고리의 다른 글
CMake - 2부 (라이브러리 추가) (0) | 2023.04.18 |
---|---|
CMake - 1부 (Tutorial 시작) (0) | 2023.04.18 |
git (깃) (0) | 2023.04.18 |
(터미널 프로그램) mobaxterm (0) | 2023.04.18 |
What is Jenkins? (젠킨스) (0) | 2023.04.18 |