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 executing script ??

From: carl:s:rebol at: 27-Jun-2003 15:31

I've seen this problem too. I believe that it is caused if a CR character (13) is present at the end of first line (shell command) on Unix/Linux systems. REBOL scripts do not care about CRs, but the command line does. To fix the problem you can either use ASCII FTP to upload your script or on the server run REBOL and type: write %yourscript.r read %yourscript.r to remove the CR. It turns out that the latest versions of REBOL were supposed to detect this situation, so we are investigating why it is still a problem. -Carl