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
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment