結果 : write stdout to variable bash