Worked like a charm, but i have yet one more question for you :)

if i wanted to run it like this:

find /etc/ -type f | ./program.rb
#####
how would i get it to the ./program.rb  state
friend gave me the clue of the numbers 699 - 756.
I have no idea what that relates to.

Thanks a ton
-Jon

-- 
Posted via http://www.ruby-forum.com/.