If it were the interpreter, then my test.py and test2.py that are _word_for_word_ the _exact_same_code_ would not work, correct?

dos2unix?! Huh? Where's the dos?

recode? man recode gives nothing.
V

On Fri, Nov 6, 2009 at 5:41 PM, Alexander Dalloz <ad+lists@uni-x.org> wrote:
Victor Subervi schrieb:

> Ok. As I mentioned before, I copied the contents of these two files:
> index.py
> template.py // which is referenced by the former
> --into--
> test.py
> test2.py
> I pasted them in through the ssh client, changing only the import statement
> from template to test2. *That worked.* However, the material that I uploaded
> through ftp doesn't render, it throws the error. The permissions are the
> same as the tests. So is the ownership. What gives??
> V

dos2unix <ftp uploaded script file>

Or use recode.

Alexander

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos