Yet another "feature" from the developers of ubuntu to simplify life when using Windows editor and building under a virtual machine under VMWARE "dos2unix" and "unix2dos" are missing in version 10.04 (Lucid). It is also crucial to have UNIX or WIN format match when running Winmerge to diff two versions of the same file.
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
Thursday, April 12, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment