From: Alex Shulgin Date: 2007-09-19T03:15:03+09:00 Subject: Re: Newbie: what's Ruby idiom for word-by-word input? On Sep 18, 3:30 am, William James wrote: > > But, dang it all, I'm gonna say you're cheating because > you're still reading lines behind the scenes! > Reading lines and breaking them into words is a lot > easier than reading characters and constructing words. Yeah, that is my point. I only see a way to do this efficiently (w/o reading the whole lines) by writing the routine in C and then using it in Ruby. Anyway, I probably won't bother, since there is no real problem--just curiosity of mine. ;-) Thanks all for discussing, Alex