From: Akinori MUSHA Date: 2001-03-21T03:15:47+09:00 Subject: [ruby-talk:12970] Re: differences between range and array At Wed, 21 Mar 2001 02:48:32 +0900, Mathieu Bouchard wrote: > On Wed, 21 Mar 2001, W. Kent Starr wrote: > > Now, anyone know the Ruby way to clean the coffee drops I spit out off my > > monitor? :-) > > find / -iname '*java*' -exec rm -rf '{}' ';' That's not Ruby way. Try this instead. :) ruby -rfind -e 'Find::find("/") { |f| case f; when /java/i; system "/bin/rm", "-rf", f; end }' -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "We're only at home when we're on the run, on the wing, on the fly"