Reputation: 996
Just like the command tail -f <a growing file>
?
whenever I read a growing file, it always encounter the EOF error, and then quit.
Upvotes: 2
Views: 3137
Reputation: 4082
I haven't experimented with it much, but there is a github repository that aims to emulate tail
functionality in Go: https://github.com/ActiveState/tail
Upvotes: 6
Reputation: 84
Find the answer as if you're programming in C on Linux, then use the same/analogous options to the equivalent 'open' system call.
Upvotes: 0