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
]
Article Feedback -
Stripping ^M from your files
New Topic
|
Go to Top
|
Go to Topic
|
Search
|
Log In
Previous Message
|
Next Message
Using tr
Author:
Dan
Date: 21-02-07 12:43
I found this today when I logged in. Fortune told me:
tr -d \\r < dosfile > newfile
-- Originally by Dru <genesis@istar.ca>
This is similar to what Marc Silver mentioned, as shown in the original article.
--
Webmaster
Reply To This Message
|
Forum List
|
Flat View
Newer Topic
|
Older Topic
Topics
Author
Date
Using tr
new
Dan
21-02-07 12:43
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