Home
> Uncategorized > Survival – how to remove ^M from a file
Survival – how to remove ^M from a file
There must be many users affected when you use a file edited on Windows and once passed to Linux/Unix is common to find a character at the end of line.
Using vi editor you could fix this inconvenient.
<Esc>:%s/<Ctrl-V><Ctrl-M>//g
Bye for now.
Categories: Uncategorized
Comments (0)
Trackbacks (0)
Leave a comment
Trackback