dos2unix missing (Ubuntu 10.04)
Yet another "feature" from the developers of ubuntu to simplify life. "dos2unix" and "unix2dos" are missing in version 10.04 (Lucid).
First of all, install dos2unix package:
sudo aptitude install tofrodos
Then if you want "dos2unix" type "fromdos" and if you want "unix2dos", type "todos". If you have a habit of typing in the old commands, its best to create links.
Go to /usr/bin:
username@linuxbox:/usr/bin# sudo ln -s fromdos dos2unix
username@linuxbox:/usr/bin# sudo ln -s todos unix2dos
Last Updated on Tuesday, 27 July 2010 07:02
Comments (31)
Add your comment
yvComment v.1.24.0
alias dos2unix=fromdos
alias unix2dos=todos
Good work:)!
Ubuntu is missing somebody like Linus with an ironfist to maintain little guys in line. :)
Glad it worked for some, though. As for me, I must seek elsewhere.
Thanks for demonstrating our suspicion was right.
alias dos2unix='fromdos'
alias unix2dos='todos'
and U do not have to change Your habits..
Regards
you have a great kernel, and you guys are just trashing the reputation of open source software by making dumb and unmanaged decisions when you build distributions
you think you want to name a program differently, create an alias if you really need to, but please leave the old ones properly named.
i'm more used to freebssd than linux. believe me, sysadmin under linux is an endless pain when it comes to portability, just because of such foolish decisions, renaming thing, changing flags, just because you think you know better.
it is easier to build a script portable on any solaris and any BSD than to make the same one between two versions of the same linux distribution, not to mention the exact same version on different architectures or even the same version installed a week after on the same machine !!
Up yours truly,
The Great Mr. Hahn