NEWTEE — User Commands
NAME
newtee − Copy input to both stdout and the listed files without blocking.
SYNOPSIS
newtee -[options] outputfile1 ...
OPTIONS
−appendAppend output to listed output files rather than overwrite them.
−inputFileUse the given file as input rather than stdin.
−keepGoingKeep waiting for more input, even at end-of-file, as is done in "tail -f."
INTRODUCTION
Copy data from input (either a file or stdin) to stdout and also to the listed output files. The data is not buffered and also the data will be copied to stdout even if writing to the output files blocks (due to server failure, etc). This is useful for reading /dev/syslog and sending the stdout to an X window while copying the data also to a file so that you can read the syslog for the machine from anywhere and not just the console.
KEYWORDS
tee syslog cat X copy
Sprite version 1.0 — September 17, 1991