This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# ack
> 一个类似grep的搜索工具,为程序员优化.
- 寻找包含"小明"的文件:
`ack {{小明}}`
- 在给定文件类型中寻找包含"小明"的文件:
`ack --ruby {{小明}}`
- 计算匹配到"小明"的总次数:
`ack -ch {{小明}}`
- 列出内容包含"小明"的文件的文件名,并显示在每个文件中匹配的次数:
`ack -cl {{小明}}`