sed替换^M为回车 sharp-fcc · 2016-04-29 18:05 · linux script · 编程语言 · Markdown sed -e 's/^M/\n/g' myfile.txt 注意 ^M 使用“CTRL-V CTRL-M”生成,而不是直接键入“^M”。