The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Removing control-Ms (^M)
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
Removing control-Ms (^M)
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
03-02-2006
bhargav
Registered User
Join Date: Sep 2004
Location: USA
Posts: 511
Code:
sed
's/^M// file # Press Ctrl-V then Ctrl-M to get ^M
bhargav
View Public Profile
Find all posts by bhargav