Good morning,


I use Ruby as a scripting layer over another program, and I want to be 
able to pipe the output of that program to unix programs.  Is this 
possible?  I'm trying to do something like this:


#this will return output from the program in a string
programoutput = @program.send(input)

#destprogram might be cat, grep, more, less, any such program
programoutput pipeoutput serr = Open3.popen3(destprogram)

Does anyone know of a way to do this?

Thanks, and have a grand old day.
Tuan