3
4

More than 5 years have passed since last update.

Excelで作ったcsvファイルの改行^MをViで見れるようにする(Mac)

Last updated at Posted at 2014-03-20

Excel等で作成したcsvが
行末のはずのところに^Mのように表示され
実際に改行されていないファイルの場合。

: %s/^M/^M/g

初めの^Mを入力するときは
ctl+v の後 ctl+m
次の^Mを入力するときは
ctl+v の後 ctl+エンターキー

3
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4