shell script function with parameters example