$ 0 0 毎回調べてるので自分へのメモ用に。 改行コード\nの場合 bash $ cat hoge.txt 111 222 333 $ cat hoge.txt | tr \\n \\ | sed -e 's…