Okay, so I've read all of the guides on using SED and AWK and have been
successful in writing scripts to replace text in a line in multiple files.
However, I have had no luck finding out how to pattern match on mutliple
lines and then make a change. Here's my problem, I need to add
before the following lines of code:
<table border="2" cellpadding="0" cellspacing="0">
I've got this in hundreds of files and really don't want to edit each one by
hand. So, if you know of a solution please let me know. Also, I've read
through about 12 guides to SED and AWK and haven't found anything dealing
with pattern matching MULTIPLE lines. Is there some escape character that
SED and AWK use to recognize a new line?