From: Vince H&K Date: 2007-03-06T07:18:14+09:00 Subject: Re: silly(?) request Kyle Schmitt wrote: > Does anyone know if it's possible to pipe the output of a command to a > running instance of irb? > > I said it was silly. > But it seems like it would be really useful. Something along the lines of > #*nix>find ./ -name "*.foo" |toirb > that would dump the output from find (as an array? As text?) to an > already active instance of IRB. Try mkfifo file find ./ -name "*.foo" > file irb> File.open("file", "r") That should do the trick. Vince -- Vincent Fourmond, PhD student (not for long anymore) http://vincent.fourmond.neuf.fr/