Closed bcox closed 1 month ago
This is a great case for writing a simple program (possibly called tail.js
) to do what you want; as a program, it will naturally come equipped with a tail log that you can update as your chosen text file (provided as a commandline argument?) changes.
Small utilities like this that are nice-to-have but not absolutely critical are things we tend to leave to players to create.
That is completely fair and in hindsight obvious. Thanks for the response.
There are a number of times that I would love to log different things in different files. I can do that with file writes, but I can't tail the created files to see updates. It would be amazing if tail could follow a text file as well as a script.