From: "Peña, Botp" Date: 2007-09-08T10:34:39+09:00 Subject: Re: read a specific line from a file From: rio4ruby [mailto:Christopher.Kleckner@gmail.com] # Or even # rio('test.txt').line[2] thanks. i just wanted (and hoped) that the op will try his hands on rio and experiment it. rio has simple solutions for line grabbing, like eg, "get line 3..5, lines 100,200,300..400, and lines containing /test/" rio('test.txt').line[3..5,100,200,300..400,/test/] thanks for rio btw -botp