whats the difference between opening a file and watching it and watching stdin?
FIFO file descriptors, not so much.
If you can't seek backwards, you pretty much have to cache the whole contents in memory, which seems wildly inefficient.
whats the difference between opening a file and watching it and watching stdin?