D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] windows newlines in #! line

 

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

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html