# unix2dos: # perl -i.org -pe 's/\n/\r\n/' filename # dos2unix: # perl -i.org -pe 's/\r\n/\n/' filename
In reply to Re: How the perl converts LF into CRLF
by sh1tn
in thread How the perl converts LF into CRLF
by perladdict
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |