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

[REBOL] Re: Core and stdin

From: biker:timsi:pl at: 13-Apr-2001 10:24

At 09:05 2001-4-13 +0000, you wrote:
>Hi, > >actually, pipe can be used for redirecting REBOL input and output in >Windows. The problem is that Windows does not have the cat command, >and few other commands support input from stdin. You can try this in
I'm using "cat" from cygwin32 tools.
><...> >What surprised me, piping input into REBOL works as well, if output >is also redirected: > >C:\REBOL\test>echo "Hello REBOL" | rebol -wq --do "print [ {from stdin:} >input ] quit" | more >from stdin: "Hello REBOL"
The problem was that I made some "typo" in my script on linux, and then tried to figure what is going on on Windows :) Big thanks!!! ........ ::2ker:: uin: 5901548