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