Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨:我有一个文件
在 vi 中,我使用了
:%s/\r//g
摆脱大多数烦人的角色,但
^C 和 ^A 仍然存在。
这是一个奇怪的。
dos2unix 没有工作。
我用了
perl -pi -e 's/[\cA-\cZ]*//g'
但是行之间的所有间隔都已被删除
如果有人知道一个好的技巧,请告诉我。谢谢!