jitty-scripts/func_test.sh

20 lines
255 B
Bash
Raw Normal View History

2015-08-08 21:04:55 -07:00
#!/bin/bash
testingpoo(){
if [ $1 -gt $2 ];then
echo "$1 is greater than $2"
elif [ $1 -lt $2 ];then
echo "$1 is less than $2"
elif [ $1 -eq $2 ];then
echo "$1 is equal to $2"
else
echo "Fuck you"
fi
}
testingpoo $1 $2