in reply to file cleaning up
That will change the blocky newlines into Windows CRLF lines, making it much more readable in a program such as Notepad. Keep in mind that other viewers for Windows, such as the standard wordpad.exe will properly translate the files.$textorline =~ s/([^\r])\n/$1\r\n/g;
|
|---|