← Workbench

tail

tail -f for AmigaOS: follows a growing text file, written in C.

Stage
Working
Machine
Amiga
Language
C (vbcc)
Started
2026-09-15
Written
by hand
Download tail — Studio project (ZIP)

Source, project file, the built AmigaOS executable and a HOWTO · open the folder in Rebound Retro Studio

9.4 kB (9444 bytes)
SHA-256: 66623b71aec98cebab40109a3cf21fc50031401625b8c7cc474fe35ce3beb58a

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.

Comments appear after moderation.