[Midnightbsd-cvs] [MidnightBSD/src] 1fe77b: tac: add GNU-compatible options

Lucas Holt noreply at github.com
Thu Jul 9 22:10:02 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 1fe77bef263b1680cc1bd62d9fd6a3e580347cb4
      https://github.com/MidnightBSD/src/commit/1fe77bef263b1680cc1bd62d9fd6a3e580347cb4
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-07-09 (Thu, 09 Jul 2026)

  Changed paths:
    M usr.bin/tac/tac.1
    M usr.bin/tac/tac.c
    M usr.bin/tac/tests/tac_test.sh

  Log Message:
  -----------
  tac: add GNU-compatible options

Support -b/--before, -r/--regex, and -s/--separator so tac can reverse records using GNU-style separator handling. Add ATF coverage for custom, regex, and NUL separators.

AI-Assisted-by: GPT-5 Codex
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