Unfortunatly this doesn't seem to work...... a=`big old | lump of | piped | apps` b=`big old | lump of | piped apps | doing something | different` c=`perl -e 'if ( $ENV{a} < $ENV{b} ) { print "1\n"; } else { print "0\ +n"; }'` ...
In reply to exchanging data between shell script and perl -e by Sinister
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |