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

[REBOL] Re: cgi weirdness

From: petr:krenzelok:trz:cz at: 4-Dec-2001 5:59

Hi, I will help you :-) Well, I lost hours checking my environment, as I am no linux guru. And you know what? The problem was in damned spacing. I strongly suggest you following: read your script into rebol, detab it, save it once again. It matters especially when you transfer your scripts between various platforms: ->> write %my-script.cgi detab read %my-script.cgi Just yesterady I had similar problem. Even detab was not enough. I cut and pasted first line from another script (#!/usr/bin/rebolcmd -cs), detabbed the script, manually pressed enter at the end of the line, deleted empty lines, entered new ones, etc. - no success. I simply deleted line above and typed it from scratch manually - oops - script started to work. It already happened to me two times .... Cheers, -pekr- [jamescis152--hotmail--com] wrote: