From: Aditya Rajgarhia Date: 2006-07-09T09:28:28+09:00 Subject: Re: Write to specified line number of file Thanks for the reply. That'll work. Ofcourse, using excel is the straightforward way but I need to do it in Ruby. I still think there must be a simple way to move to a specified line in a file. I could write a function which does that by checking for "\n" at the end of each line, and will do that unless someone can suggest an easier method soon. -- Posted via http://www.ruby-forum.com/.