Malcolm's Tech Notes
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 you have to type CTRL+V and then CTRL+M
:%s/^M//g
Posted
in
by
malcolm
Tags:
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
Leave a Reply