Thanks that worked. If I may ask one final question. How do I run the script on an input file say infile and output to a file outfile (these file names could change from run to run) without appending the infile to the code you provided? Alternatively can I make the changes using a suitable command line that does what the script does instead of using the script?
Thanks.
In reply to Re^6: Delete a string possibly over two lines
by texuser
in thread Delete a string possibly over two lines
by texuser
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |