2012年10月2日 星期二

Newline thransform Linux \n to \r\n



Command:
sed -e 's/$/\r/'



Reference:
http://superuser.com/questions/419865/how-can-i-replace-all-r-n-with-n-using-either-komodo-edit-on-osx-snow-leopard

1 則留言:

  1. More about \r\n in perl use:
    http://cpaul.is-programmer.com/posts/25724.html

    回覆刪除