Need I point out that a simple python program can be used to squash the dreaded DOC carriage-returns. I'll leave the program as an exercise... On Sat, 4 Dec 2004, Anderson wrote:
Nate Aune wrote:
The __init__.py file contained in the tarball that I downloaded from http://mjablonski.zope.de/Epoz/releases/Epoz-0.8.6.tar.gz is plagued with the dreaded DOS carriage-returns.
I.e. import re^M import urlparse^M
And my hosting provider (zettai.net) doesn't have the cmd line tool dos2unix installed!
Do they have tr?
I can't remember the exact syntax, its along the lines of:
tr -d '\r' < inputFile > outputFile
ALthough that would be slow to do unless you script it....
Do you have fromdos/todos installed? (similar to dos2unix etc.)
Regards, Gareth
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )