There is also a command called dos2unix that helps fix these kinds of issues. You can get it from macports or fink - I don't think it comes by default on the Mac because my install is in /opt/local/bin - which usually means a macport install.The MacPorts Project -- Home