From: Aldric Giacomoni Date: 2010-01-13T04:38:52+09:00 Subject: Re: SPOJ ? Test for end of file input Aldric Giacomoni wrote: > I can only suppose they're using the "-i" argument ... If so, how do I > test for when that file has run out of stuff? Well, with some research on the command-line arguments, I've now shown my complete ignorance in the subject. I'm at square.. zero, or -1, I think. -- Posted via http://www.ruby-forum.com/.