|
if conditional statement
Hi,
I have a script like this:
sample.sh
mapping=$1
if [ "$mapping" =="pass" ]
then
echo "program passed"
fi
I'm running the above script as ./sample.sh pass
The script is not getting executed and says "integer expression expected"
Could anyone kindly help me?
|