tailcat.1

.TH TAILCAT 1
.SH NAME
tailcat \- output last part of a file to stderr, print stdin to stdout
.SH SYNOPSIS
.B tailcat
[
.I file
]
.SH DESCRIPTION
.I Tailcat
prints the last part of a file to standard error and
prints standard input to standard output.
Additional output is printed to standard error as the file grows.
.PP
.I Tailcat
can be used to provide a simple interface to programs that
append data to files as part of their normal operation.
.SH EXAMPLES
It is possible to use
.I tailcat
with the
.IR ii(1)
IRC client:
.EX
cd 'irc/chat.freenode.org/#cat-v'
echo '/j #cat-v' > ../in
tailcat out > in
.EE
.PP
To get a
.IR readline(3)
prompt, invoke
.I tailcat
with
.IR rlwrap(1) :
.EX
rlwrap tailcat out > in
.EE
.SH AUTHOR
.I Tailcat
and this man page were written by Nils Dagsson Moskopp.
.SH COPYRIGHT
Copyright © 2013 Nils Dagsson Moskopp.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
.SH SEE ALSO
.IR cat(1) ,
.IR srw(1) ,
.IR tail(1)
.SH BUGS
.I Tailcat
does not resize its output area upon receiving the SIGWINCH signal.
If terminal size changes mess up the output, restart
.IR tailcat .