linux shell下去掉windows文件的换行^M

cat filename | tr '\n\r'  '\n' > test

posted @ 2014-02-18 14:32  sunsweet  阅读(619)  评论(0编辑  收藏  举报