linux shell script function with arguments