How to search and replace a multi-line string in a fileFeb 25, 2016, 08:00 (0 Talkback[s])
(Other stories by Xmodulo)
WEBINAR: On-demand Event
Replace Oracle with the NoSQL Engagement Database: Why and how leading companies are making the switch REGISTER >
Suppose you have a text file in which you want to change multiple lines of text to something else, but by using Linux command line and without using a text editor. When it comes to finding and replacing a multi-line string pattern, Perl's regular expression based pattern matching comes in handy.
0 Talkback[s] (click to add your comment)