The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
Scripts / handy tips
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Stripping ^M from your files
Author: Taz 
Date:   11-02-10 03:17

My contribution to this great site based on hours of trial an error for that annoying ^M added to conf files ftp'd from windows. The solutions on the page didn't work but this finally did:
cat somefile | col -bx > somefile
you can modify the flags to taste.

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 Stripping ^M from your files   new
Taz 11-02-10 03:17 
 Re: Stripping ^M from your files   new
Chris Elvidge 19-08-10 08:40 
 Re: Stripping ^M from your files   new
Chris Elvidge 19-08-10 08:59 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org