Is there a command-line utility app which can find a specific block of lines in a text file, and replace it?
- by fred.bear
UPDATE (see end of question)
The text "search and replace" utility programs I've seen, seem to only search on a line-by-line basis...
Is there a command-line tool which can locate one block of lines (in a text file), and replace it with another block of lines.?
For example: Does the test file file contain this exact group of lines:
'Twas…