I have a huge file containing the following patterns to be deleted:

.SUBCKT AA
5 lines
.ends AA

.SUBCKT BB
6 lines
.ends BB
    .
    .
    .
In vi it's easy to "search and delete" them. e.g. by
/^\.SUBCKT AA/;/^\.ends AA/d

Is there a better way to do this in perl ?




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to