![]() |
|
|
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 |
| get last characters in ksh | meghana | Shell Programming and Scripting | 5 | 04-11-2008 05:11 PM |
| Check for special characters in a script | sumesh.abraham | Shell Programming and Scripting | 7 | 12-18-2006 09:15 AM |
| Add few characters | er_aparna | Shell Programming and Scripting | 7 | 08-17-2006 11:53 AM |
| characters ô ö à é è | Castelior | Shell Programming and Scripting | 1 | 04-19-2006 11:52 AM |
| Script to check for a file, check for 2hrs. then quit | mmarsh | UNIX for Dummies Questions & Answers | 2 | 09-16-2005 03:46 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hii
When i am using the following command for checking the ctrl-m characters am getting "Substitution pattern match failed" error. Actually i jus want to check and not to substitute. Please suggest me as whats wrong in the below command. 1,$s/Ctrl+vCtrl+m//g Thanks |
|
||||
|
Probably the application you are using doesn't support using literal control-M:s in regex substitution. Is this sed or vi or some other beast? Is there a reason you don't just run dos2unix or comparable on the file? There is regrettably no single standard portable command which works everywhere, but search this site for "ctrl-m" or "carriage return" or "DOS" or ...
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|