Friday, June 01, 2007

Unix : DOS format on a Unix box

Quite often I use an IDE on Windows to edit the file and then FTP the file to a Linux box. (Mainly because vi sucks major league, big time!)

Anyway, the Unix compiler sometimes complains about rogue characters. An easy way to fix this is to use the

dos2unix

utility which reads the text file and converts to Unix format.

Enjoy!

No comments: