in reply to Re: Removing Control Characters
in thread Removing Control Characters
DO NOT be tempted to redirected back to the original file as you will truncate it.
Better yet, use Perl's in place file editing feature:
perl -p -i -e 's/\r$//' (filename)
Plus, if you use
-i.fooa backup copy of filename before the changes will be stored in "filename.foo"
Peace,
-McD
|
|---|