From: Jan_K Date: 2006-04-02T11:13:45+09:00 Subject: Re: Learn to Program, by Chris Pine Solution for the 1st exercise in chapter 8: (I'm skipping the 2nd exercise - just a bunch of busywork) ----------------------------------------------------------------------- input = [] while input.last != '' input.push gets.chomp end puts input.sort -----------------------------------------------------------------------