Help for this page

Select Code to Download


  1. or download this
     
    Hello Monks,
    I can't get my script to add another if statement after $1.
    ...
    I want to add another if statement after the last if/fi.
    
    Thanks,
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
            s/^(if.*rctladm.conf.*?fi)/$1\n$here/m;
            print OUT;
    }