On Sun, Mar 18, 2001 at 12:12:44AM -0800, Lars Jensen wrote: > How do I get rid of Control-M at the end of each line in a dos > text file imported to Debian?
If you are editing such a file with vi or vim, the following incantation will eliminate ^M characters from the whole file: :%s/ //g (where = Control-V) HTH, R.