Saturday, September 4, 2010

Getting dos2unix on Ubuntu

To get the tools onto the box, use:

> sudo apt-get install tofrodos

For Ubuntu 10, dos2unix does not exist; the tools fromdos and todos are defined instead. So, either add aliases:

> alias dos2unix=fromdos

or a link:

> ln -s fromdos dos2unix

No comments:

Post a Comment