Hi
here is the code for you.Hope it will work
if [ $# -gt 0 ]
then
count=`expr $# - 1`
shift $count
echo "The last argument is $1"
fi
Regards
Subbu.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.