- or download this
This is a test file.
Here comes the line we want: 'syslogd')
You see it?
It was two lines ago.
And before this line we want to output the other stuff.
- or download this
This is a test file.
Here comes the line we want: 'syslogd')
...
-q>>\$LOG 2>>\$LOG
;;
And before this line we want to output the other stuff.
- or download this
($line =~ m/'syslogd'\)/);
- or download this
my $newline = $. + 3;
- or download this
$newline = $bgs;
print OUT $newline;
next;
- or download this
'bgs')
/usr/bin/su - patrol /usr/adm/best1_default/bgs/scripts/best1collect
-q>>\$LOG 2>>\$LOG
;;
- or download this
#!/usr/bin/perl -w
use strict;
...
You see it?
It was two lines ago.
And before this line we want to output the other stuff.