>>732
\nを置換の右側に書いたときはNULを表すのか。
vimの内部での改行の扱い上の都合があるようですね。
:help NL-used-for-Nul

sedでも右側に\nは書けないんだね。
The escape sequence \n matches a newline character embedded in the pattern space. You cannot, however, use a literal newline character in an address or in the substitute command.(man sed)


>>734
^MがLFともCRだと思ってなかった。疑問も持たずに、
ただ改行のときはこれ使うみたいな。