Help for this page

Select Code to Download


  1. 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.
    
  2. 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.
    
  3. or download this
    ($line =~ m/'syslogd'\)/);
    
  4. or download this
    my $newline = $. + 3;
    
  5. or download this
    $newline = $bgs;
    print OUT $newline;
    next;
    
  6. or download this
    'bgs')
      /usr/bin/su - patrol /usr/adm/best1_default/bgs/scripts/best1collect
     -q>>\$LOG 2>>\$LOG
      ;;
    
  7. 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.