Remove printing message using EOF

Using EOF makes sense only when you need to print a large number of lines.