my Perl script runs on Windows via Strawberry Perl and writes output to a file. All lines it prints end with "\n". When I open the output file, however, I see that the the Windows carriage returns "\r\n" were written instead. Is there a way I can force the script to write Unix newlines "\n" only?
Thank you!In reply to How to print Unix newlines in Strawberry Perl on Windows by evgen-i
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |