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

[REBOL] Re: permissions reminder?

From: joel:neely:fedex at: 14-May-2002 13:49

Hi, Tom, Given a file something like the following (for example): 8<----------beginning of demo.r---------- !#/usr/bin/rebol -sq REBOL [] print {Content-type: text/html <html> <head><title>Demo!</title></head> <body bgcolor="#ffccff"> <h1>Demo!</h1> <p>This is... (are you ready for it?)... a demo!</p> </body> </html> } 8<-------------end of demo.r------------- (where the path to your REBOL interpreter is sustituted appropriately, of course), you can then issue the shell command chmod 755 demo.r after which demo.r is a legitimate command-line command. (It works for other things than CGI as well...) Hope this helps! -jn- Tom Foster wrote: