IO.foreach « File Directory « Ruby






1.Read lines one at a time and initialize a hash
2.Print all lines containing the word "target"