![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Auto copy for files from folder to folder upon instant writing | Bashar | UNIX for Advanced & Expert Users | 2 | 08-21-2008 03:44 PM |
| Replace folder in all hosting accounts | jimmack | UNIX for Dummies Questions & Answers | 1 | 04-20-2008 02:25 AM |
| ftp a files from a folder | dineshr85 | Shell Programming and Scripting | 2 | 10-08-2007 02:51 AM |
| Search For Control M characters in files | Mohammed | Shell Programming and Scripting | 4 | 10-06-2006 01:40 PM |
| how to replace control characters using sed? | hillxy | Shell Programming and Scripting | 5 | 10-16-2003 11:12 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Recursive Control M
For each file recursively I used -
find / -name "*" | xargs perl -p -i -e 's/^M//g' * This will find all files "*" starting from the root and on each file having ^M will perform a cleanup globally. But there is a PROBLEM with this command . It changed all my LIBRABRIES since i used -- perl -p -i -e 's/^M//g' * Is there some way to revert this thing from my libraries . Does any revert command exits for the Control M in libraries. I believe my libraries are corrupted now. Regards, Telecomics |
|
||||
|
Quote:
Am afraid no options are available, except if you have backups.... ![]() |
![]() |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|