結果 : creating a function in bash script