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

[REBOL] Re: Core and stdin

From: alan_otterstad:mikronvinyl at: 13-Apr-2001 9:29

Can't you download the GNU utilities for windows and use them instead??? I haven't tried it myself but I do know that there are unix commands available thru GNU utilities. I have them on my pc and they work very similarly to the unix commands as far as I know. So you might try downloading them and see if they work the way you want to. alan 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 Windows command prompt in all Windows versions: C:\REBOL\test>rebol -wq --do "print {Hello World} quit" | more Hello World or this in Windows NT and 2000: C:\REBOL\test>rebol -wq --do "print {Hello World} quit" | findstr . Hello World 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" Regards, Michal Kracik Brian Hawley wrote: