結果 : how to create a function in bash script