From: Andrew Johnson Date: 2004-10-02T04:49:59+09:00 Subject: Re: Ruby as a shell (was Re: irb: a great tool in it's own right) On Fri, 1 Oct 2004 22:53:07 +0900, Eivind Eklund wrote: [snip] > > On the subject (if not the Subject:): Have anybody played with make it > possible to use Ruby for running sort-of shell scripts? Ie, including > pipes etc. As it is, there are some programs that call a lot of shell > commands that I write in sh instead of Ruby, and where I'd really like > to do them in Ruby. Not sure exactly what you're looking for, but perhaps you'd find the Session library useful for driving external programs: http://raa.ruby-lang.org/project/session/ andrew -- Andrew L. Johnson http://www.siaris.net/ What have you done to the cat? It looks half-dead. -- Schroedinger's wife