I meant without string or tmp file, write to original file. -- Posted via http://www.ruby-forum.com/.