Assigning parameter variable in shell script

You can try the following