Hi, I'm using a k-shell script and i'm passing command-line arguments as "devel" or "prod" and it gives the error on line number 44 which is the "if" condition. Can you pls let me know what the error is ?
myfilename.ksh[44]: devel: bad number
if [ $1 -eq "devel" ] -o [ $1 -eq "prod" ]
then
DEVL_ENV=$1
fi
myfilename.ksh[44]: devel: bad number
if [ $1 -eq "devel" ] -o [ $1 -eq "prod" ]
then
DEVL_ENV=$1
fi