我正在尝试从文件中的每一行中间删除控制字符。下面是我的数据。我使用了以下命令,但它似乎不起作用。
Command:
:%s/^M//g
Data:
53,v42,p11,51097,310780,ok^M,fraud
56,v45,p11,260,1925,ok^M,fraud
68,v42,p11,51282,278770,ok^M,fraud
96,v49,p14,212,1545,ok^M,fraud
163,v50,p20,373819,1006375,ok^M,fraud
204,v50,p26,36917,117195,ok^M,fraud
241,v70,p33,21777,91360,ok^M,fraud
Output Warning:
E486: Pattern not found: ^M