結果 : how to create function in bash script