2009-09-05 bash コマンドの結果を配列として格納する Bash Tips コマンドの結果を配列として格納する。 $ls_result=($(ls)) $echo ${ls_result[@]}