Hi all,
I want to know whelther string entered ends with .jar. Can any one help please..
Thank U
Naree
Hi all,
I want to know whelther string entered ends with .jar. Can any one help please..
Thank U
Naree
case $input in
*jar )
echo "end in jar" ;;
esac
Thanks a Lot !!! It really works.
Don't Mind can u tell me with awk command and print "jar" file extensions
# echo "sdf.jar" |awk '/jar$/{print "end in jar"}'
end in jar