PowerGREP 的免费替代品

发布于 2024-07-26 16:30:15 字数 1813 浏览 12 评论 0 原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(8

堇年纸鸢 2024-08-02 16:30:15

我建议尝试新的 dnGrep。 它是一个 .NET 应用程序,提供类似 grep 的功能,并且几乎具有您指定的所有功能。

以下是功能和示例屏幕截图:

  • Shell 集成(能够从 Windows 资源管理器 进行搜索)
  • 纯文本/正则表达式/XPath 搜索(包括不区分大小写的搜索)
  • 拼音搜索(使用 Bitap 和Needleman-Wunch 算法)
  • 文件移动/复制/删除操作
  • 在档案内搜索(通过插件)
  • 搜索 Microsoft Word 文档(通过插件)
  • 搜索 PDF 文档(通过插件)
  • 撤消功能
  • 与文本编辑器的可选集成(例如 Notepad++)
  • 书签(能够保存将来的正则表达式搜索)
  • 模式测试表单
  • 搜索结果突出显示
  • 搜索结果预览
  • 不需要安装(可以从 USB 驱动器运行)

< img src="https://i.sstatic.net/sNdsL.jpg" alt="dnGrep 截图">

I would suggest trying the new dnGrep. It's a .NET application that provides grep-like functionality and has almost all the features you specified.

Here are the features and a sample screenshot:

  • Shell integration (ability to search from Windows Explorer)
  • Plain text/regex/XPath search (including case-insensitive search)
  • Phonetic search (using Bitap and Needleman-Wunch algorithms)
  • File move/copy/delete actions
  • Search inside archives (via plug-ins)
  • Search Microsoft Word documents (via plug-ins)
  • Search PDF documents (via plug-ins)
  • Undo functionality
  • Optional integration with a text editor (like Notepad++)
  • Bookmarks (ability to save regex searches for the future)
  • Pattern test form
  • Search result highlighting
  • Search result preview
  • Does not require installation (can be run from a USB drive)

dnGrep screenshot

〆一缕阳光ご 2024-08-02 16:30:15

从功能角度来看,没有任何东西可以与 PowerGREP 相媲美,所以问题是,您愿意做出多少妥协? 我同意 PowerGREP 的价格有点高(并不是说我曾经后悔花在它上面的一分钱),所以也许更便宜的东西可以呢?

UltraEdit 是一款出色的文本编辑器,具有非常好的正则表达式支持。 它支持 Perl 风格的正则表达式,您可以使用它在多个(可选地预先过滤的)文件中执行查找/替换操作。 我想说它可以根据你的问题做你想做的一切。

UE 截图

RegexBuddy,除了是市场上最好的正则表达式编辑器/调试器之外,还具有有限的 GREP 功能,允许在(预过滤的)子目录中搜索/替换。 它也不是免费的,但比 PowerGREP 便宜得多,并且它的正则表达式引擎具有您可能需要的所有功能(当前版本甚至引入了递归正则表达式,以及在风格之间转换正则表达式的极其有用的功能)。 这里的一大优点是能够对所有操作进行非破坏性预览,并自动创建在 grep 期间修改的所有文件的备份。

RB 截图

Feature-wise nothing even comes close to PowerGREP, so the question is, how many compromises are you willing to make? I agree that PowerGREP's price tag is a bit steep (not that I have ever regretted a single penny I spent on it), so perhaps something cheaper might do?

UltraEdit is an excellent text editor with very good regex support. It supports Perl-style regular expressions, and you can do find/replace operations in multiple (optionally pre-filtered) files with it. I'd say it can do everything you want to do according to your question.

UE screenshot

RegexBuddy, apart from being the best regex editor/debugger on the market, also has a limited GREP functionality, allowing search/replace in (pre-filtered) subdirectories. It's also not free, but considerably less expensive than PowerGREP, and its regex engine has all the features you could ask for (the current version even introduced recursive regexes, and the extremely useful ability to translate regexes between flavors). Big pluses here are the ability to do a non-desctructive preview for all operations, and to have backups automatically be created of all files that are modified during a grep.

RB screenshot

凉世弥音 2024-08-02 16:30:15

我在开发过程中和生产服务器上广泛使用 GrepWin - 它不支持您所提供的所有功能指定,但它可以完成工作(您的里程可能会有所不同)。

I use GrepWin extensively during development and on production servers - it doesn't support all the features you specify, but it gets the job done (your mileage may vary).

一笔一画续写前缘 2024-08-02 16:30:15

对于快速加载、快速执行的程序,过去只查找(没有搜索和替换),然后我找到了Baregrep 相当不错。 它有子目录。

For a fast loading, fast executing program used to only find (no search and replace) then I've found Baregrep to be pretty good. It does subdirectories.

染柒℉ 2024-08-02 16:30:15

您可能会看一下:

开源 PowerGREP 替代品

目前有六种 PowerGREP 的替代方案。

You might have a look on this:

Open Source PowerGREP Alternatives

Currently there're six alternatives to PowerGREP.

守护在此方 2024-08-02 16:30:15

获取 Cygwin 以获得大量免费替代品!
grep、sed、awk、perl、python...继续。
但是,哎呀! 你想坚持使用 GUI。

我总是想知道人们如何将 GUI 包装在 grep 之类的东西上并从中获取现金!


WinGrep 似乎是免费的,而且功能相当强大。

Windows Grep 设计用于搜索纯 ASCII 文本文件,例如程序源、HTML、RTF 和批处理文件,但它也可以搜索二进制文件,例如文字处理文档、数据库、电子表格和可执行文件。

Get Cygwin for a bunch of free alternatives!
grep, sed, awk, perl, python... goes on.
But, oops! you want to stick to GUI.

I always wonder at how people wrap GUI around things like grep and get cash for that!


WinGrep seems to be free though and, yet comes with quite a punch.

Windows Grep is designed for searching plain-ASCII text files, such as program source, HTML, RTF and batch files, but it can also search binary files such as word processor documents, databases, spreadsheets and executables.

我早已燃尽 2024-08-02 16:30:15

我不知道 PowerGREP,但是 grepWin 允许您在目录中搜索正则表达式。

I do not know PowerGREP, but grepWin lets you search regexes in directories.

泡沫很甜 2024-08-02 16:30:15

您可以获取 GNU grepGawk

You can get GNU grep or Gawk.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文