From: Jim Freeze Date: 2003-01-31T05:18:01+09:00 Subject: How to do grep -v? Hi Is there a more direct way than this to get 'grep -v'? c=%w{a b c} #=> ["a", "b", "c"] c -= c.grep(/a/) #=> ["b", "c"] I would much rather do: c.grep!(/a/v) or c.grep!(/a/,'v') -- Jim Freeze ---------- You too can wear a nose mitten.