Remove printing message using EOF

Using EOF makes sense only when you need to print a large number of lines.
Merge pull request #2 from harston/patch-2

Remove printing message using EOF