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/.