From: Siep Korteling Date: 2010-03-10T05:41:32+09:00 Subject: Re: Shortest code Prasanth Ravi wrote: > Siep Korteling wrote: > i got this output maybe some env change? No, it just doesn't work with a trailing negative number. One more try: p eval gets.split(/ |-\d+/)*'+0' Siep -- Posted via http://www.ruby-forum.com/.