[REBOL] Re: command line stuff

2004-05-05 Thread Gregg Irwin
Hi Tom, TF> if I have a script, say, blap.r, that has a function, TF> a: func['b 'c] ["blah" "blah"] TF> how can I, from bash (my shell) execute something like, TF> $ blap.r b c Put a shebang line at the top of your script, including the -c option to tell REBOL to run in CGI mode, then just PRIN

[REBOL] Re: command line stuff

2004-05-05 Thread Anton Rolls
Within the blap.r script, probe these: system/script/args system/options/args You should see your command line strings b and c there. As for getting output back into the shell, um... you might have to call an external program to show your output. ie something like: call join "cat " mol