From: Ruby Newbee Date: 2009-12-09T21:52:24+09:00 Subject: Re: a gets problem On Wed, Dec 9, 2009 at 6:40 PM, Justin Collins wrote: > > Mainly because gets is waiting for an EOL, not an EOF. Recall that, in this > case, gets is reading from stdin. Once you tell it stdin is at the end of > the file, it has no reason to continue reading from it. > oh~ thanks a lot, have got that.