Windows命令提示符中是否有与grep类似的实用程序,或者是否有第三方工具?


当前回答

你显然收到了很多不同的推荐。 我个人选择一个免费的,第三方实用程序是:代理洗劫 Agent Ransack下载 尽管它的名字有点令人困惑,但它工作得很好,可以以各种方式使用它来查找文件。

祝你好运

其他回答

如果你想要一个GUI, Bare Grep是不错的选择。Gnu grep适合CLI

Yes there is only one program for Windows PC which have solid GUI and it is essential util for me. I work as a developer and on every computer I've had, first thing install XFind program. It is created in 1997 and till now version is 1.0 and till now works and it is the best. Frequently I need to search some string in a ".cs", ".aspx", ".sct" (Visual FoxPro form code file) or just ".*" and XFind scans all files and show me files and another great thing is that you can look where string is in the file. XFind has also some kind of editor. If it binary file it will show you string finded. Try it and use it forever if you are developer like me.

Grep for Windows by GnuWin Project(2014-10-02:它已经过时了,见下面的评论)

我将把我的0.02美元添加到这个线程中。dnGREP是一个很棒的开源grep工具,它支持撤销,windows资源管理器集成,在pdf, zip, DOCs和其他一堆东西里面搜索…

UnxUtils是一组运行在Windows上的Unix实用程序。它有grep, sed, gawk等。