红联Linux门户
Linux帮助

ripgrep 0.7.0发布,正则表达式搜索工具

发布时间:2017-10-23 09:12:28来源:红联作者:baihuo
ripgrep 是一款 line oriented 搜索工具,它会遵循你的 gitignore 规则递归搜索当前目录中的正则表达式。ripgrep 将 Silver Searcher(类似于ack)的可用性与 GNU grep 高速相结合,支持 Windows、macOS 和 Linux 平台。

搜索结果示例:

ripgrep 0.7.0 是一个小的改进和修复版本,包括:

Added or improved file type filtering for config & license files, Elm, Purescript, Standard ML, sh, systemd, Terraform

Using both -o/--only-matching and -r/--replace does the right thing.

ripgrep will stop when its pipe is closed.

Fix context printing bug when the -m/--max-count flag is used.

Fix interaction between -r/--replace and terminal colors.

Ignore test that tried reading a non-UTF-8 file path on macOS.

Fix color escapes on empty matches.

Avoid expensive (on Windows) file handle check when using --files.

Clarify installation instructions for Ubuntu users.

Faster symlink loop checking on Windows.

软件详情:https://github.com/BurntSushi/ripgrep/releases/tag/0.7.0

下载地址:http://git.oschina.net/mirrors/ripgrep

来自:开源中国社区
文章评论

共有 0 条评论