} elsif ( $line =~ m/best1collect/) { next;
This will omit lines containing 'best1collect' from the input file. Instead I think what you want is to set a flag so that later when you see 'syslogd' you do not insert the bgs stuff. Is that what you want to do?
In reply to Re: if elsif elsif prints all three.
by pc88mxer
in thread if elsif elsif prints all three.
by wcj75019
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |