星期六, 一月 20, 2007

remove all those ^M characters from a DOS file

Need to remove all those ^M characters from a DOS file? Try

tr -d \\r < dosfile > newfile


-- Originally by Dru

没有评论: