![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| delete non printable characters from file | alokjyotibal | UNIX for Dummies Questions & Answers | 2 | 08-23-2008 07:42 AM |
| Delete specific characters | masquerer | AIX | 4 | 04-21-2008 05:00 AM |
| How to delete a file with special characters | yveslagace | UNIX for Dummies Questions & Answers | 5 | 08-22-2007 11:42 AM |
| how to insert and delete characters in the middle of file | ivancheung | High Level Programming | 7 | 10-11-2004 03:08 AM |
| Replace string and delete extra characters | slaubhan | Shell Programming and Scripting | 2 | 08-28-2003 05:49 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
how to delete M-^M characters from a file
I am receiving a file with 'M-^M' characters...how do I get rid of these characters.
I tried tr -d '\015' and sed '/^M//g', but they didnot work. Appreciate if someone can help me with this |
|
|||||
|
Take a look at this thread
^M character Also, search this forum for the dos2unix utility. DOS uses CR (carriage return) and LF (line feed) between rows, while Unix uses LF only. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Tags |
| shell script, shell scripting, unix scripting, unix scripting basics |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|