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

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

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