in reply to arguments to perl -e
#!/bin/bash file=$1 var=$2 cat $file | perl -e 'BEGIN { $var = $ARGV[0] } print <STDIN>' $var > o +utput
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: arguments to perl -e
by explorer (Chaplain) on Apr 08, 2006 at 09:14 UTC |
In Section
Seekers of Perl Wisdom