in reply to if elsif elsif prints all three.
} 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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: if elsif elsif prints all three.
by wcj75019 (Acolyte) on Feb 27, 2008 at 21:23 UTC | |
|
Re^2: if elsif elsif prints all three.
by wcj75019 (Acolyte) on Feb 27, 2008 at 21:30 UTC |