2010-06-22 sedで改行コードを変換する PCメモ UNIX -> Windows のケース http://d.hatena.ne.jp/Ubuntu/20071205/1196854391 sed -e 's/$/\r/' unix.txt > dos.txt