Inserting column of text (from a variable) after a PATTERN?
Posted: Tue Feb 14, 2006 7:01 am
Hi,
I've been trying for hours to add a column of text (from a global variable) after a 2 line pattern but can't seem to find a way to do it!
I have the following pattern:
So far, using the following, I've managed to insert after a SINGLE line:
Restrict to lines matching [sometext=sometext]
+--Insert column 0 [@testVariable]
This results in:
How do I write after MULTIPLE matching lines?
Any help would be appreciated!
Thanks - PJay
I've been trying for hours to add a column of text (from a global variable) after a 2 line pattern but can't seem to find a way to do it!
I have the following pattern:
Code: Select all
sometext=sometext
{
<want to insert here>
Restrict to lines matching [sometext=sometext]
+--Insert column 0 [@testVariable]
This results in:
Code: Select all
sometext=sometext
<inserted text>
Any help would be appreciated!
Thanks - PJay