My original example, find . -name '*.h' | yad --list --title "Search Results" --text "Finding all header files.." --column "Files"
will work when passed to bash from rexx #!/usr/bin/rexx 'find . -name "*.h"', '|yad --list', '--title "Search Results"', '--text "Finding all header files.."', '--column "Files"', '|rxqueue' do queued() parse pull yad_result say yad_result end exit rc because the entire command is processed by bash. If I want to process the results of the find command before passing them to yad #!/usr/bin/rexx 'find . -name "*.h"', '|rxqueue' do l = 1 to queued() parse pull line.l -- do something to line.l -- somehow (?) stack line. contents for yad end -- how does bash know that yad should read stacked input? 'yad --list', '--title "Search Results" ', '--text "Finding all header files.."', '--column "Files"', '|rxqueue' -- get yad results do queued() parse pull yad_result say yad_result end exit rc merely SAYing them will just write them to the console, as there appears to be no way to tell bash to pipe them to yad. Leslie On 2016-09-12 16:24:36 Les Koehler wrote: > So Leslie's code would be: > > say 'some message' | yad > > and it could be done multiple times to let yad accumulate all the text > and display it? > > Les > -- A Caution to Everybody Consider the Auk; Becoming extinct because he forgot how to fly, and could only walk. Consider man, who may well become extinct Because he forgot how to walk and learned how to fly before he thinked. -- Ogden Nash ------------------------------------------------------------------------------ _______________________________________________ Oorexx-users mailing list Oorexx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-users