Search Results

Search: Posts Made By: Corona688
2,905
Posted By Corona688
You're missing a 'then'. if [ $# -ne 2 ] ...
You're missing a 'then'.


if [ $# -ne 2 ]
then
echo "Error"
exit 1
fi

echo "`expr $1 + $2`"
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 04:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy