Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-450

File doesn't end with blank line and cann't get the last line using Tailer!

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.4
    • None
    • Utilities
    • None
    • linux and windows 7

    Description

      I use Tailer to read file, I can't get the last line if the file doesn't end with a blank line!

      My file like as following:

      AAAAAAAAAAAA
      BBBBBBBBBBBB

      And Not end with a blank line, "BBBBBBBBBBBB" is the last line, When I use io.input.Tailer to tail the file, I cann't get the last line "BBBBBBBBBBBB"!

      All versions(2.3/2.4/2.5) of Commons-IO have the same problem!

      Attachments

        Activity

          People

            Unassigned Unassigned
            davidchiu davidchiu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: