結果 : bash redirect output of function