Talk is cheap. Show me the code.
dos2unix & unix2dos
Convert file with Windows line endings to UNIX and vice versa, all in Perl:
perl -i -pe 's/\r//g' dos2unix perl -i -pe 's/\n/\r\n/g' unix2dos
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)