Help for this page

Select Code to Download


  1. or download this
    #!/bin/bash
    file=$1
    var=$2
    cat $1 | perl -e 'perlcodeinhere' >output
    
  2. or download this
    cat $i | perl -e 'while(<>){$_=~ s/$ARGV[0]//g;print;}' $var >$i.new
    
  3. or download this
    cat $i | perl -e 'while(<STDIN>){$_=~ s/$ARGV[0]//g;print;}' $var >$i.
    +new