<snip> > > That could get you into trouble: > > $ echo -n "abc" | ruby -e 'puts gets.chomp!' > nil > > > David Oh noooo of course David is right, let me be just a little be more explicit 507/7 > irb irb(main):001:0> 'ab'.chomp! => nil that really hurts Robert -- I always knew that one day Smalltalk would replace Java. I just didn't know it would be called Ruby -- Kent Beck