in reply to Re^3: Why does my Perl regex substitution for linebreak fail?
in thread Why does my Perl regex substitution for linebreak fail?

Good stuff, igelkott.

Thanks a million for your help! I'll spend some more time wondering just how the \r got in there.

Just out of curiosity - could it have crept in due to any of my Linux or text editor settings - or maybe even character encodings? I checked for the obvious (to me) editor settings in KWrite but could not spot any pointers to Windows formats there.
Also, the file did not get routed through the network at any point in time ... oh, wait a minute: I did send a copy of it via uuencode. Would that have done anything to the original file? Probably not ...

Cheers -

Pat
  • Comment on Re^4: Why does my Perl regex substitution for linebreak fail?

Replies are listed 'Best First'.
Re^5: Why does my Perl regex substitution for linebreak fail?
by igelkott (Priest) on Mar 06, 2008 at 21:21 UTC
    In the Kwrite menu, check Tools -> End of Line.

    I've never heard of uuencode doing something like this.