The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 06-04-2008
meen_arora meen_arora is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 1
You can also use dos2unix command

dos2unix original_file > new_file

Quote:
Originally Posted by navi View Post
I have a write a script in VI editor.whenever i open the Vi script ,it is showing ctrl-M at the end of each line.

Please tell me how to remove this Ctrl-M from each line.

Thanks in Advance