#function myfunc
myfunc(){
echo $1
case $1 in
e)
a=5
;;
q)
a=10
;;
esac
}
myfunc
I need help in following :
$myfunc.sh e
echo $1
is not showing anything. case
is also not working. What am I doing wrong?
No comments:
Post a Comment