Suppose you are working on a very old unix server where
sed are not present. How can you convert files from dos to unix format?
|show 2 more comments|
I think you are referring to removing the caret-M at the end of lines. You can use search and replace in vi to do this.
In vi I normally do: (where "^" represents CTRL):
Which shows on the screen as:
A server without