Monday, March 4, 2013

Convert DOS/Win line endings to unix

sed -i 's/^M//' <filename>

It's a lot like the command you would apply in vi. ^M = ctrl+v+m

No comments:

Post a Comment