Welcome to the Monastery | |
PerlMonks |
Re: ftp script problem .. bad interpreter?by davidj (Priest) |
on Apr 18, 2005 at 09:31 UTC ( [id://448764]=note: print w/replies, xml ) | Need Help?? |
This is most likely the result of a file with dos newline encoding being executed on a Unix machine. The easy way to fix it is to use the dos2unix command. It will change the newline encoding to the Unix format and the script should run fine.
davidj
In Section
Seekers of Perl Wisdom
|
|