I have the following, for example:

/* Rexx */ signal on novalue
trace R

'addpipe literal +05 PIPE query'    ,
    '| delay'                       ,
    '| specs word 2-* 1'            ,
    '| CMD'                         ,
    '| specs /Reply is: / 1 word 1-3 next' ,
    '| console'

return( RC )

It seems to me that there should be a more straightforward
way than going out to CMD and back in to PIPE.  RUNPIPE would
be close, but I can't seem to process the output from
RUNPIPE.  (Well, there's:

literal +05 query || specs /Reply is: / 1 word 1-3 next || console

but that gets ugly if there are many following stages.)
Is there a better way that I'm missing?

Thanks,
gil

Reply via email to