Go siftgrep 的开源替代品

联合创作 · 2023-09-29 07:23

sift 是快速强大的 grep 开源替代品,作为一个单独的可执行程序,没有外部依赖,下载即用。sift 非常灵活,速度非常快,支持多行匹配,条件和多核。


sift 主要特性:



  • 速度快

  • 无需安装,下载即用

  • 灵活,包含 grep 所有你需要的特性

  • 使用条件


示例数据:


<?xml version="1.0"?>
<catalog>
<book id="bk101">
<author>Gambardella, Matthew</author>
<title>XML Developer's Guide</title>
<genre>Computer</genre>
<price>44.95</price>
<publish_date>2000-10-01</publish_date>
<description>An in-depth look at creating applications with XML.</description>
</book>
<book id="bk102">
<author>Ralls, Kim</author>
<title>Midnight Rain</title>
<genre>Fantasy</genre>
<price>5.95</price>
<publish_date>2000-12-16</publish_date>
<description>A former architect battles corporate zombies,
an evil sorceress, and her own childhood to become queen
of the world.</description>
</book>
...



浏览 22
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报