結果 : bash pipe function output to variable