[NLUUG]   Welcome to ftp.nluug.nl
Current directory: /os/NetBSD/misc/reed/tac/local/
Current bandwidth utilization 682.02 Mbit/s
Bandwidth utilization bar
Contents of README:
Title:		tac

Author: 	Unknown off the net long ago, and
		Jay Lepreau
		Computer Science Dept.
		Univ. of Utah
		Salt Lake City, UT 84112
Net:		lepreau@utah-cs.arpa, {ihnp4,decvax}!utah-cs!lepreau
		Sometime lepreau@cs.utah.edu

tac ("cat" backwards) is a small program which prints file segments
in reverse order; by default it reverses by lines (like tail -r).
Besides being able to reverse a file by segments delimited by an
arbitrary string, its wins are that it is very fast, handles any
size segments and any size files.  These make it an excellent
filter, e.g. "tac <logfile> | egrep foo".

tmail is a trivial shell script which uses tac to display one's
mailbox, message by message, most recent first.

Potential improvements to tac which I would appreciate having fed back to me:
--segment by arbitrary regular expressions, but only if it's done
	w/o sacrificing the current speed for the default case.
--fix up handling of multiple files.
--nicely integrate with tail somehow.


Icon  Name                      Last modified      Size  
[DIR] Parent Directory - [DIR] SCCS/ 04-Oct-2017 13:03 - [   ] Makefile 04-Oct-2017 13:03 217 [TXT] README 04-Oct-2017 13:03 1.0K [TXT] tac.1 04-Oct-2017 13:03 1.3K [TXT] tac.c 04-Oct-2017 13:03 5.8K [TXT] tmail.1 04-Oct-2017 13:03 592 [   ] tmail.sh 04-Oct-2017 13:03 390

NLUUG - Open Systems. Open Standards
Become a member and get discounts on conferences and more, see the NLUUG website!