在sed中怎么样产生控制字符^M http://bbs.chinaunix.net/thread-1253209-1-1.html 在sed中怎么样产生控制字符^M? 我想把win下的txt文档中的多余的^M去掉。我也一直用 sed 's/ //g' file