
linux正則表達式替換
If you are tired of hacking together commands at the terminal or having to open a giant bloated IDE just to perform search and replace across a number of files, then Regexxer is the tool for you.
如果您厭倦了在終端上一起打包命令,或者只需要打開一個龐大的,膨脹的IDE來執行搜索并替換多個文件,那么Regexxer就是您的理想選擇。
Reader Sergio turned us on to this great application geared towards programmers, but it could be useful for any hard-core geek, especially since it’s a nice little standalone package.
讀者Sergio將我們介紹給了這個面向程序員的出色應用程序,但是它對任何頑固的怪胎都是有用的,尤其是因為它是一個不錯的小型獨立程序包。
Installation for Debian/Ubuntu
Debian / Ubuntu的安裝
sudo apt-get install regexxer
sudo apt-get install regexxer
The great thing about this utility is that you can step through and confirm whether to replace or skip for each file that is found. Just enter your regular expression or keyword into the search box and hit the Find button.
此實用程序的妙處在于,您可以單步執行并確認是否替換或跳過找到的每個文件。 只需在搜索框中輸入正則表達式或關鍵字,然后點擊“查找”按鈕即可。
The application will find the first file and show you the suggested change in the small textbox below, and you can choose to replace or hit the arrows to go to the next file.
該應用程序將找到第一個文件,并在下面的小文本框中顯示建議的更改,您可以選擇替換或單擊箭頭以轉到下一個文件。

The only thing that this app is really seriously lacking is the ability to save searches for later use. It’s no PowerGrep, but it’s free and open source.
這個應用程序真正嚴重缺乏的唯一功能是可以保存搜索以供以后使用。 它不是PowerGrep,但它是免費和開源的。
Visit regexxer homepage at SourceForge
訪問SourceForge的regexxer主頁
翻譯自: https://www.howtogeek.com/howto/linux/simplify-regular-expression-searchreplace-with-regexxer-on-linux/
linux正則表達式替換