linux正則表達式替換_在Linux上使用Regexxer簡化正則表達式搜索/替換

linux正則表達式替換

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.

該應用程序將找到第一個文件,并在下面的小文本框中顯示建議的更改,您可以選擇替換或單擊箭頭以轉到下一個文件。

image

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正則表達式替換

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/278777.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/278777.shtml
英文地址,請注明出處:http://en.pswp.cn/news/278777.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

Java設計模式之策略設計模式

1.什么是-策略設計模式 在軟件開發中常常遇到這種情況,實現某一個功能有多種算法或者策略,我們可以根據環境或者條件的不同選擇不同的算法或者策略來完成該功能。如查找、排序等,一種常用的方法是硬編碼(Hard Coding)在一個類中,如…

電腦卡死,電腦卡屏死機幾個原因與解決辦法必看

電腦卡屏死機幾個原因與解決辦法必看相信很多朋友都遇到了關于電腦卡屏死機的問題,那么該電腦卡屏死機是什么原因呢?該如何解決?那么下面給你們說說電腦卡屏死機的原因和解決方法吧,希望可以幫到你們哦!電腦卡屏死機幾個原因:1 電腦中毒或中惡意軟件&am…

eclipse上搭建mybatis

1..在help中打開 2.搜索mybatipse 3:功能簡介 1:要查找某一個方法 在dao接口中某一個方法中 按住 Ctrl鍵 鼠標指到方法名稱上 選擇open xml 就會自動跳轉 2:自動生成resultMap 安裝鍵盤 alt / 會彈出提示框 3:引用re…

outlook工具欄顯示_Outlook 2007中的待辦事項欄僅顯示當前任務

outlook工具欄顯示One of the best new features in Outlook 2007 is the To-Do bar, where you have quick access to your calendar as well as your task list. Unfortunately, the default setting of showing all of your tasks regardless of date can be overwhelming f…

Dapper,大規模分布式系統的跟蹤系統

當代的互聯網的服務,通常都是用復雜的、大規模分布式集群來實現的。互聯網應用構建在不同的軟件模塊集上,這些軟件模塊,有可能是由不同的團隊開發、可能使用不同的編程語言來實現、有可能布在了幾千臺服務器,橫跨多個不同的數據中…

在數據采集器中用TensorFlow進行實時機器學習

最新DataOps平臺的真正價值,只有在業務用戶和應用程序能夠從各種數據源來訪問原始數據和聚合數據,并且及時地產生數據驅動的認識時,才能夠實現。利用機器學習(Machine Learning),分析師和數據科學家可以利用…

excel條件格式使用_如何使用條件格式在Excel中創建進度欄

excel條件格式使用Progress bars are pretty much ubiquitous these days; we’ve even seen them on some water coolers. A progress bar provides instant feedback on a given process, so why not bring some of that graphical pizzazz into your spreadsheet, using Exc…

spring技術小結

1.DI和IOC 依賴注入(Dependency Injection)還是控制反轉(Inversion of Conctrol) bean通過依賴注入,注冊到spring容器里面。spring容器通過控制反轉,調用bean。 2.DI的方法 這里網上很多配置注入,構造方法注入,類參數注入&#xf…

raspberry pi_每日新聞摘要:新型iMac,NVIDIA的Raspberry Pi競爭對手等

raspberry piFor the morning of March 19th, 2019, Apple unveiled an updated iMac, NVIDIA showed off a Raspberry Pi competitor, Instagram will let you buy things without leaving the service, Call of Duty is coming to mobile, and a lot more. 在2019年3月19日上…

六) 條件搜索

什么是條件搜索 用關健字與指定的單列或多例進行匹配的搜索 單字段條件搜索 QueryParser queryParser new QueryParser(LuceneUtil.getVersion(),"content",LuceneUtil.getAnalyzer()); 多字段條件搜索,項目中提倡多字段搜索 QueryParser queryParser n…

Ubuntu 16.04/CentOS 6.9安裝Apache壓力(并發)測試工具ab

說明: ab工具已經在Apache中包含,如果不想安裝Apache,那么可以使用下面方法單獨安裝。 安裝: Ubuntu: sudo apt-get install apache2-utils CentOS: sudo yum -y install httpd-tools 官網: h…

鼠標指針放置上面,顯示內容_使鼠標指針遠離您鍵入的內容

鼠標指針放置上面,顯示內容If your mouse pointer seems to constantly get in the way while you are typing, you aren’t alone… you click in the middle of some text and start typing to insert more, but the cursor stays in the way. There’s a tiny utility calle…

Java基礎查漏補缺:(String篇)一個面試題問倒了我,原來String并不簡單

先來一道java面試題:String s new String(“zsx”);問:創建了幾個String Object? 先別往下看,想想答案 先上一個圖: 如圖所示,問題所示的語句創建了2個String對象和一個引用。String s new String(“zsx”); 相當于…

06 小數據池 is 和 = = 再談編碼

今日主要內容 1. 小數據池, id() 小數據池針對的是: int, str, bool 在py文件中幾乎所有的字符串都會緩存. id() 查看變量的內存地址 2. is和的區別 is 比較的是內存地址 比較的是內容 當兩…

geek_愚蠢的怪胎技巧:在Windows 7中啟用秘密的“ How-To Geek”模式

geekWe haven’t told anybody before, but Windows has a hidden “How-To Geek Mode” that you can enable which gives you access to every Control Panel tool on a single page—and we’ve documented the secret method for you here. 我們以前沒有告訴過任何人&#…

使用MetaPost繪制流程圖

小白最近閑來無事,自學了一點metapost,主要用它來繪制拓撲圖或流程圖。小白最近在寫自己從工作以來的所學,寫成了一份PDF的電子文檔(小白不太會使用MS Word)。小白又不想使用JPEG或PNG格式的圖片作為插圖,因…

基于GDAL庫,讀取海洋風場數據(.nc格式)c++版

經過這一段時間的對海洋數據的處理,接觸了大量的與海洋相關的數據,例如海洋地形、海洋表面溫度、鹽度、濕度、云場、風場等數據,除了地形數據是grd格式外,其他的都是nc格式的數據。本文將以海洋風場數據為例,進行nc格式…

zune linux_快速提示:在出售Zune HD之前,先擦除所有內容

zune linuxBefore selling your Zune HD online or to another individual, you’ll probably want to erase all of its content. Here we show you how to erase all of the content through the Zune Desktop Player. 在在線上出售Zune HD或將其出售給其他人之前&#xff0c…

SSM框架——使用MyBatis Generator自動創建代碼

SSM框架——使用MyBatis Generator自動創建代碼 這是通過命令行, 不用ide插件. 若在IDEA中通過插件generator, 還可以參考另一篇: IDEA搭建SpringSpringMVCmybatis框架教程轉載于:https://www.cnblogs.com/yadongliang/p/8097449.html

鏡像VirtualBox 下安裝 CentOS 7搭建python項目

一、下載和安裝VirtualBox工具 CentOS 鏡像 下載地址(windows x86):百度網盤 提取碼:z44g 安裝說明:簡書-XiTeacher 二、下載OS輔助工具——putty,mtputty,winscp 下載地址(windo…