結果 : store function output in variable bash