|uncat(1)||General Commands Manual||uncat(1)|
uncat - continuously reads stdin, splits up the data either by timeout or number of bytes read to process it
uncat [-vo] [-t seconds] [-s size] prog
uncat continuously reads stdin and repeatedly processes the data either after seconds timeout or maximal number of bytes size read. To process the data, uncat starts prog and feeds the data into prog's standard input. prog's standard output is redirected to standard error. uncat never writes to standard output.
prog consist of one or more arguments.
If prog exits non-zero, uncat prints an error message, discards the data and continues to read stdin.
Note that uncat is not crash proof.
uncat is used to run the socklog-notify service.
If uncat receives a TERM signal, it starts to process the data in memory and exits as soon as possible.
uncat also does this on end of input if the -o option was given.
uncat returns 0 after receiving a TERM signal. uncat returns 111 on error.
Gerrit Pape <email@example.com>