From: Przemyslaw Daniel Date: 2007-07-12T20:24:31+09:00 Subject: Re: awk regexp search Few mistakes instead of > @file = File.open(filename, "r").close;; should be @file = File.open(filename, "r"); and > ARGF.each { |@line| replace with > @file.each { |@line| :-) -- Posted via http://www.ruby-forum.com/.