convert unix 2 dos (oneliner)


/ Published in: Perl
Save to your folder(s)



Copy this code and paste it in your HTML
  1. perl -p -i -e 's/\r//g; s/\n/
  2. /g' foo.txt

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.