shell script function argument passing