From: pat eyler Date: 2009-02-27T04:39:45+09:00 Subject: Re: Ruby scripting On Thu, Feb 26, 2009 at 12:34 PM, Brad Winborg wrote: > Ruby scripting - I am just starting to learn Ruby and I wanted to know > if anyone out there knows it well. I am trying to do a project and I > have run into a problem. > > I have an executable file that when run creates (n) number of error > logs. So from a command prompt you run the ,exe with with (n) being the > number of logs you wish to create. We will make n =10. Then using ruby > create a program that will search through those 10 error logs and find > and display how many times the word error is found and how many times > the word warning is found. Then Produce a report showing the number of > error and warning log messages for 10-minute  over the entire length of > time represented by the generated log files. sounds rather like a homework assignment .... what have you tried so far? > -- > Posted via http://www.ruby-forum.com/. > > -- thanks, -pate ------------------------- Duty makes us do things, Love make us do things well. http://on-ruby.blogspot.com http://eldersjournal.blogspot.com