tail(1): Implement tac(1) as the reverse version of cat(1)
authorAaron LI <aly@aaronly.me>
Sat, 20 Jun 2020 07:10:41 +0000 (15:10 +0800)
committerAaron LI <aly@aaronly.me>
Sat, 20 Jun 2020 07:10:41 +0000 (15:10 +0800)
commitb743b76f8c2cc8315de7eac87507463cccaded9c
treee715eb2070514cb7b1e22394ece8ecd6185073fb
parentf038181408e47684b271228c89bece66119a4bdb
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.
bin/cat/cat.1
usr.bin/rev/rev.1
usr.bin/tail/Makefile
usr.bin/tail/tac.1 [new file with mode: 0644]
usr.bin/tail/tail.1
usr.bin/tail/tail.c