This website requires JavaScript.
Explore
Help
Sign In
ctome
/
tldr
mirror of
https://github.com/CrimsonTome/tldr.git
Watch
1
Star
0
Fork
You've already forked tldr
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
97cd486311
tldr
/
pages.zh
/
common
/
ack.md
377 B
Raw
Blame
History
Unescape
Escape
ack
一个类似grep的搜索工具
,
为程序员优化.
寻找包含"小明"的文件:
ack {{小明}}
在给定文件类型中寻找包含"小明"的文件:
ack --ruby {{小明}}
计算匹配到"小明"的总次数:
ack -ch {{小明}}
列出内容包含"小明"的文件的文件名,并显示在每个文件中匹配的次数:
ack -cl {{小明}}