From: Mark Thomas Date: 2008-12-18T04:02:21+09:00 Subject: Re: using count += 1, code won't change value in output On Dec 17, 10:23 am, Mmcolli00 Mom wrote: > This is supposed to count every line in a file that contails the string > '0004343' f1.grep(/0004343/).size -- Mark.