Search Results

Search: Posts Made By: Dieter5
4,993
Posted By Dieter5
I took the message (awk) and got the solution...
I took the message (awk) and got the solution (see above).
And now I know that there is no sed-awk program that can interpret

sed-awk s/(div id=m1).*?(\/div)/(div...
4,993
Posted By Dieter5
Unfortunately no solution there. Perhaps...
Unfortunately no solution there.

Perhaps there are more tipps how to
* replace a block of multiline text, surrounded by xml-brackets?
4,993
Posted By Dieter5
Thanks for your comments. But the main problem:...
Thanks for your comments. But the main problem: how do you define "searchText"? It has to be a non-greedy regular expression spanning several lines because the text between both delimiters does not...
4,993
Posted By Dieter5
Replace Block
I'd like to replace content within the markers "(div id=m1)" and "(/div)". Between the markers there are several lines of text but no nested brackets (so no parser is required).

In the beginning I...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 04:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy