forked from hpcloud/tail
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modified to return data byte by byte.
This is a specific hack intended for termshark and isn't really suitable for a pull request. I want to be able to monitor a pcap file for changes and send those changes to stdout without necessarily waiting for a newline. This is inefficient because I send the data byte by byte, and could certaainly be improved. But since tail has figured out EOF issues, I decided it's easier to start here than write a binary tail program myself.
- Loading branch information
Showing
2 changed files
with
20 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters