From: Navindra Umanee Date: 2005-02-21T07:06:15+09:00 Subject: Re: destructive! operations mark sparshatt wrote: > One problem with this suggestion that comes to mind is, what if there > are any blank lines in the file. then gets.chomp would return "" which > would cause the while loop to exit. Probably not what you want Point. The chomp would make it not work here. There are many situations where it could be elegant though. Cheers, Navin.