From: Brian Candler Date: 2007-03-26T15:00:27+09:00 Subject: Re: Rethinking the Generic Ruby Oneliner... On Mon, Mar 26, 2007 at 07:55:05AM +0900, Paul Stickney wrote: > Maybe: > >>ruby -rmylibrary -e "replaceString" -- --find startPath --matching pathRegex -i.bak --gsub searchRegex > > If that's too long, maybe a shell/program wrapper ^^ > >>myruby --find startPath --matching pathRegex -i.bak --gsub searchRegex -e "replaceString" If you call it x.rb then you can have ruby -rx ...