Linux UNIX

Remove CTRL-M characters from a file in UNIX

Remove CTRL-M characters from a file in UNIX 1) Open the file in vi 2) Type the following :%s/^M//g 3) Press enter to the ^M

Share