Just redefine what a line is.
local $/ = '}'; while( <INFILE> ) { /timing/ and s/^.*max_transition.*\n//m; print $OPFILE $_; }
Semi-tested :)
In reply to Re: Need to save a single line from delete on some special condition
by tybalt89
in thread Need to save a single line from delete on some special condition
by anirbanphys
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |