git: tail(1): Implement tac(1) as the reverse version of cat(1)

Aaron LI aly at crater.dragonflybsd.org
Sat Jun 20 00:19:51 PDT 2020


commit b743b76f8c2cc8315de7eac87507463cccaded9c
Author: Aaron LI <aly at aaronly.me>
Date:   Sat Jun 20 15:10:41 2020 +0800

    tail(1): Implement tac(1) as the reverse version of cat(1)
    
    The tac(1) is the reverse version of cat(1) and is implemented with
    'tail -rq'.
    
    Update cat.1, rev.1 and tail.1 man pages to mention the new tac(1).
    
    The tac.1 man page is obtained from NetBSD.  The implementation is also
    inspired by NetBSD but is different.

Summary of changes:
 bin/cat/cat.1                           |  4 +--
 usr.bin/rev/rev.1                       |  5 ++--
 usr.bin/tail/Makefile                   |  4 ++-
 usr.bin/{ioprio/ioprio.1 => tail/tac.1} | 51 +++++++++++++++++++--------------
 usr.bin/tail/tail.1                     |  3 +-
 usr.bin/tail/tail.c                     | 23 ++++++++++++---
 6 files changed, 58 insertions(+), 32 deletions(-)
 copy usr.bin/{ioprio/ioprio.1 => tail/tac.1} (67%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b743b76f8c2cc8315de7eac87507463cccaded9c


-- 
DragonFly BSD source repository


More information about the Commits mailing list