From: Erik Hollensbe Date: 2008-08-25T05:15:20+09:00 Subject: Re: Open file, get first line, delete first line close file Richard Schneeman wrote: > but i can't figure out the correct syntax for how to delete a line in a > file, and then save that file. tail +2 the_file > the_new_file Not all problems are best solved with ruby :) -- Posted via http://www.ruby-forum.com/.