in reply to Cleaning Up Text Files
and I tried doing it asperl -pi.bak -e 's/^M//g' *.xml
It created the backup file, but did not remove the ^M's. Are there any other tricks to this?perl -pi.bak -e 's/^M//g' testfile.html
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Cleaning Up Text Files
by roik (Scribe) on Oct 25, 2002 at 12:41 UTC | |
by kryberg (Pilgrim) on Oct 25, 2002 at 12:51 UTC | |
|
Re: Re: Cleaning Up Text Files
by cored (Scribe) on Oct 25, 2002 at 12:44 UTC | |
by thelenm (Vicar) on Oct 25, 2002 at 15:46 UTC |