[DCPM] windows newlines in #! line

Steve Marvell steve at devon-it.co.uk
Thu Jul 20 05:23:23 PDT 2006


This started as a CGI problem. Apparently, some of the Perl scripts a
particular company provide are littered with Windows newlines. This
casuse a bad interpretor error.

This is also the case if the script is run by hand.

I understand that the present version of a Apache the clinet is using
handles this. 

I take this is a shell problem, but I think it could be solved if
Apache prestripped them

Anyone got any ideas?

Steve


More information about the Devoncornwall-pm mailing list