in reply to Re: How to delete ^M character using regex
in thread How to delete ^M character using regex

yeah, *except* if there's a \r missing at least on one line of the file - fickle bunch those editors ;)

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
  • Comment on Re^2: How to delete ^M character using regex