[REBOL] Re: oneliner possible?
From: petr:krenzelok:trz:cz at: 13-Dec-2000 13:21
riachtchenko wrote:
> Hi folks,
> Is it possible to output directly
> from oneliner to the console, since:
> D>$D:\Program_Files\rebol-0.31\core\rebol -w --do "print 5 + 4" >
> o.txt
> D>$type o.txt
> Finger protocol loaded
> Whois protocol loaded
> Daytime protocol loaded
> SMTP protocol loaded
> POP protocol loaded
> HTTP protocol loaded
> FTP protocol loaded
> NNTP protocol loaded
> Script: "User Preferences" (28-Nov-2000/15:22:35+1:00)
> 9
> but no way with:
>
> D>$D:\Program_Files\rebol-0.31\core\rebol -w --do "print 5"
hmm, I can't help you, but one small suggestion anyway:
1) try -wq .... where 'q stands for quiet mode, preventing all Rebol
initializing info to appear ....
2) what doesn't work for you in the example above? I got 5 printed in
the console. Why do you use windowless option -w, if you are not
outputting results back into file?
Cheers,
-pekr-