in reply to exchanging data between shell script and perl -e
Or you could just pass them on the command line:
Or, since you are using perl anyway, replace this toplevel shell script with a perl script, and open the pipes from perl.c=`perl -e 'if ( $ARGV[0] < $ARGV[1]} ) { print "1\n"; } else { print +"0\"; }' $a $b`
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: exchanging data between shell script and perl -e
by Sinister (Friar) on Jul 25, 2001 at 16:40 UTC | |
by PrakashK (Pilgrim) on Jul 25, 2001 at 18:12 UTC |