sift 是快速强大的 [grep](http://www.oschina.net/p/gnu-grep) 开源替代品,作为一个单独的可执行程序,没有外部依赖,下载即用。sift 非常灵活,速度非常快,支持多行匹配,条件和多核。
sift 主要特性:
* 速度快
* 无需安装,下载即用
* 灵活,包含 grep 所有你需要的特性
* 使用条件
示例数据:
<pre class="brush:shell; toolbar: true; auto-links: false;"><?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>
...</pre>
![image](http://sift-tool.org/images/media/sift_dvwa1.png)