Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Rebol cgi always prints usage information before exec uting script

From: Jean:Holzammer:faedv-n:bayern at: 30-Jun-2003 9:13

> From: Gabriele Santilli [SMTP:[g--santilli--tiscalinet--it]] > Usually this is because of line terminators. If you have edited > the script on Windows and then uploaded to a Unix box in binary > mode, the line terminators will remain CRLF, which is not a > problem for REBOL but is for some Unix's shebang line handling.
Hi, thanks. That was it. Never had the idea this could be the problem. I saved the script on an Amiga System, so there should not have been any CRs at all ? After explicitly removing these chars, it works now. Regards, Jean