結果 : define a function in a bash script