`
hqman
  • 浏览: 353286 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论

perl脚本碰到^M不能运行

阅读更多

perl脚本碰到^M不能运行,

用vim :%s/^M/g 不能识别^M,

google了一下 有个dos2unix能解决这个问题

sudo apt-get install tofrodos ( tofrodos - Converts text files between DOS and Unix formats. )

dos2unix dd.pl

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics