IRAF help page for package system, program tee

from NOAO tee -- tee the standard output to a fileUSAGEPARAMETERSDESCRIPTIONEXAMPLESBUGS

tee -- tee the standard output to a file


USAGE

tee file


PARAMETERS

file

The name of the output file.

out_type = text

The type of output file to be created, either "text" or "binary".

append = no

If set, append to an existing file, otherwise create a new file.


DESCRIPTION

Tee copies its input to both the standard output and the named file. Its primary use is in pipes where one wants to capture some intermediate output.


EXAMPLES

1. The results of the set command are captured in the file "temp", and are also passed on to the "match" command. The result is a "temp" file of perhaps 100 lines, with the output to the screen only around 5 lines.

cl> set | tee temp | match tty


BUGS

Since the processes in an IRAF pipe execute serially rather than concurrently, the teed output will not appear until all tasks to the left have completed.


This page automatically generated from the iraf .hlp file. If you would like your local iraf package .hlp files converted into HTML please contact Dave Mills at NOAO.

dmills@noao.edu