jlevy / the-art-of-command-line

Master the command line, in one page
153.41k stars 14.57k forks source link

Consider adding tofrodos and/or dos2unix #157

Open zh4n7wm opened 9 years ago

zh4n7wm commented 9 years ago

Converts text files between DOS and Unix formats. http://manpages.ubuntu.com/manpages/raring/man1/fromdos.1.html

Hunter-Github commented 9 years ago

What's wrong with dos2unix, unix2dos?

jlevy commented 9 years ago

Yes, any thoughts on which to prefer? Apparently only fromdos supports backups. Any other significant differences in functionality?

ShawnMilo commented 9 years ago

It seems like a short tutorial on Perl one-liners would be even better. You can do a lot more than just replace carriage returns. I gave up on Perl long ago in favor of Python, but I still use it all the time for one-liners.

jlevy commented 9 years ago

@ShawnMilo if you have ideas on #115 feel free to give comments/suggestions there.