:1,$ s/.$//g

shu (shu)
It won't happen if you don't copy ASCII files from Windows to UNIX. Try Samba and save your files on UNIX directly.
2002-11-5 -04:00
This post has been archived. It cannot be replied.
Page address has been copied.
To share, click to copy page address.
Share Online by QR Code

Back To Topic: 今天反正没事情干,多问问,VI怎么去除文本文件没行最后的CTRL+m,一直没有想到好办法(这种文件是被WINDOWS编辑保存过后产生的)

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT杂谈