[Midnightbsd-cvs] [MidnightBSD/src] 9fa74c: usr.bin: add flock and ts utilities

Lucas Holt noreply at github.com
Wed Sep 9 14:34:25 EDT 2026


  Branch: refs/heads/codex/add-flock-ts-utilities
  Home:   https://github.com/MidnightBSD/src
  Commit: 9fa74c5dcd0137d4a5024b81d717404d3ae13308
      https://github.com/MidnightBSD/src/commit/9fa74c5dcd0137d4a5024b81d717404d3ae13308
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-09-09 (Wed, 09 Sep 2026)

  Changed paths:
    A contrib/ts/ts.1
    A contrib/ts/ts.c
    M usr.bin/Makefile
    A usr.bin/flock/Makefile
    A usr.bin/flock/flock.1
    A usr.bin/flock/flock.c
    A usr.bin/flock/tests/Makefile
    A usr.bin/flock/tests/flock_test.sh
    M usr.bin/shuf/shuf.c
    A usr.bin/ts/Makefile
    A usr.bin/ts/tests/Makefile
    A usr.bin/ts/tests/ts_test.sh

  Log Message:
  -----------
  usr.bin: add flock and ts utilities

Add flock(1) for portable advisory locking and ts(1) for timestamping input streams. Include manual pages and ATF coverage, and register both programs in the userland build.

The flock implementation is based on NetBSD's BSD-licensed utility. The ts implementation is based on the BSD-licensed OpenBSD source imported by FreeBSD.

AI-Assisted-by: OpenAI GPT-5
Signed-off-by: Lucas Holt <luke at foolishgames.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list