and it gave me#!/usr/bin/sh echo /usr/bin/perl perlscript.pl ret=$? echo "Status String is $?" if [ $ret -eq 0 ] then echo "case A" else echo "case B" fi
Status String is 0 case A
In reply to Re: Re: Re: calling perl script from shell script
by pelagic
in thread calling perl script from shell script
by shilpam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |