![]() |
#**********************************************
# Comparing two strings
# Author Pradeep G. pradeep@ipath.net.in.
# www.ipath.net.in/pradeep
#***********************************************
echo "Enter a string" ? s1="Pradeep"
s2="Prd"
if $s1 = $s2
then
echo "Both are same"
else
echo "Both are not same"
fi