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

[REBOL] Piping on Win98 with /Core

From: gjones05::mail::orion::org at: 28-May-2001 18:23

A while back, Michael Kracik wrote in response to a question: === 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 === I've been trying this with /Core 2.5 on Win98 at the command prompt without luck. Although the lines wrap here, I was careful that it was entered as a single line. What am I doing wrong? Thanks. --Scott Jones