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

Pipes & rebol (was Re: REBOL Cookbook in Beta)

 [1/2] from: nitsch-lists::netcologne::de at: 3-Sep-2003 20:31


rebol and pipes on linux: commandline cat pad.txt | /usr/local/bin/rebol -c piper.r | less script: REBOL [ Title: "piper"] while[l: input][print l] no shebang needed. windows? when i used w95 some years ago windows had simply no 32-bit-pipe. a perl i hused had its own cmd32 - shell to enable enable piping. the input/output to *.bat-piepes was not compatible with the file-api. so people had either to use a more complex file-library handling files & console, or be broken with windows-pipes. some libraries wrapped, some not. do not know how it is today. -Volker

 [2/2] from: greggirwin:mindspring at: 3-Sep-2003 13:01


Hi Volker, VN> commandline VN> cat pad.txt | /usr/local/bin/rebol -c piper.r | less Yeah, it's that path to REBOL that will be a pain, especially if you have more than one script you're calling. :\ -- Gregg