tail
tail copied to clipboard
Update location after read
When tailing without following, Tell() is not available due to the file handle already being closed. Instead, we can keep Location up to date to provide this information.
Use case: I am polling files on an interval, extracting lines between each poll, and need to manually seek based on the final position of the previous poll.