2019-08-15 fishのforでコマンドを使う fish $ for val in ([コマンド]) echo $val end bash $ for val in `[コマンド]`; do echo ${val}; done;