[REBOL] Re: stdin stdout?
From: gregg::pointillistic::com at: 24-Mar-2007 8:50
Hi Ed,
EOC> ...can someone tell me
EOC> if REBOL is able to interface smoothly with standard input & output
EOC> (on *nix or solaris)?
This is a simple echo process:
while [data: input] [print data]
Under Windows, command integration isn't as nice, but that should work
under *nix I believe. I think stderr is not doable though. At least
system/ports doesn't list it here.
INPUT is a mezzanine, so you can see that it just does this:
pick system/ports/input 1
The output port works similarly:
insert system/ports/output "test^/"
-- Gregg