grep 的开源替代品 Go sift

    xiaoxiao2023-09-13  176

    Go sift 详细介绍

    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> ...

    文章转载自 开源中国社区[https://www.oschina.net]

    最新回复(0)