結果 : add function to bash script