mirror of
https://github.com/techarkit/shell-scripting-tutorial.git
synced 2026-01-14 03:01:42 +00:00
Update agtb.sh
This commit is contained in:
6
agtb.sh
6
agtb.sh
@ -7,14 +7,14 @@
|
||||
#Author: Ankam Ravi Kumar
|
||||
# START #
|
||||
|
||||
echo "enter the a vloue $a"
|
||||
echo -e "enter the a value: \c"
|
||||
read a
|
||||
echo "enter the b volue $b"
|
||||
echo -e "enter the b value: \c"
|
||||
read b
|
||||
if test "$a" -gt "$b" ; then
|
||||
echo "$a is greater than $b"
|
||||
else
|
||||
echo "$b is greater than $a"
|
||||
echo "$b is greater than $a"
|
||||
fi
|
||||
|
||||
# END #
|
||||
Reference in New Issue
Block a user