tail follows a text file as it grows, like tail -f on Unix. It prints the last part of the file, then everything that is appended to it, and if the file gets truncated it notices and carries on from its new end. It never busy-waits, and Ctrl-C stops it cleanly.
Handy beside deployd: follow a program's log on the Amiga while it runs. This works by providing tail with the deploy.log file that is created by the deployd daemon, which writes the application's output into that file.
A learning project: one of my first real AmigaOS programs in C, intended to be a companion to deployd.
Comments
No comments yet — be the first.