I'm afraid that the REXX functions won't do what Glenn is after. I might be able to externalise the scanner, but there is much more to it than stage separators and end characters. Lables, connectors, escape, local options, &c.
And Glenn will have to tell me how he wants the output? E.g., a stage per line with a null line for each pipeline end character? Cheers, j. 2009/3/17 Rob van der Heij <[email protected]> > On Mon, Mar 16, 2009 at 11:28 PM, Glenn Knickerbocker <[email protected]> > wrote: > > "Schuh, Richard" wrote: > >> Maybe you ought to consider cannibalizing PIPEDEMO. > > > > Ugh, scanning for escaped pipeline characters in REXX is exactly what I > > hoped to avoid. Oh, well. > > I would think that you can leave the first part (breaking up into > stages) to the Pipelines scanner. Some small parts that we got is > "scanrange" and "scanstring" to write REXX stages that interpret the > arguments in the same way as built-in stages would do. > > Rob >
