dostolinux and linuxtodos

dostolinux

1 #! /bin/sh                                                                                                         
2 sed -e 's/.$//' $1>$2

linuxtodos

1 #! /bin/sh                                                                                                         
2 sed -e 's/$/\r/' $1>$2

 

关于换行符的区别:

http://blog.csdn.net/shanliangliuxing/article/details/8828200

posted on 2013-06-05 22:30  阿加  阅读(322)  评论(0编辑  收藏  举报

导航