-----Messaggio originale----- Da: Konda R. [mailto:kondarao77 / yahoo.com] Inviato: gioved10 novembre 2011 23:16 A: ruby-talk ML Oggetto: Re: sum returning two values Peter Hickman wrote in post #1031329: > I put you code into a file called x and ran it > > $ ruby x 9989 9991 9990 9989 > > 39959[~]$ > > Seems to be working here, cant think why it shouldn't Hi, I am atatchning my test files here, can you please help me . It is not working for some how... In unix I have the data but when I pass to ruby it is returning two values as sum instead of one value. Attachments: http://www.ruby-forum.com/attachment/6738/stats.sum.rb http://www.ruby-forum.com/attachment/6739/test2011-11-04 http://www.ruby-forum.com/attachment/6740/test.sh -- Posted via http://www.ruby-forum.com/. -- Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f Sponsor: Riccione Hotel 3 stelle in centro: Pacchetto Capodanno mezza pensione, animazione bimbi, zona relax, parcheggio. Scopri l'offerta solo per oggi... Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid982&d)-12