mafasdf / news-pet

Automatically exported from code.google.com/p/news-pet
1 stars 0 forks source link

Scanner does not read until EOF in Linux #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use a Scanner to read "reut2-017.sgm" in Linux.
2. Iterate through every line in the file.
3.

What is the expected output? What do you see instead?
See and run the attached Java file.  These questions are answered there.

Original issue reported on code.google.com by tyson....@gmail.com on 9 Dec 2008 at 9:09

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by thau...@gmail.com on 12 Dec 2008 at 8:07