1.\" Copyright (c) 1991 Regents of the University of California. 2.\" All rights reserved. 3.\" 4.\" %sccs.include.redist.roff% 5.\" 6.\" @(#)tee.1 6.2 (Berkeley) 04/22/91 7.\" 8.Dd 9.Dt TEE 1 10.Os BSD 4.4 11.Sh NAME 12.Nm tee 13.Nd pipe fitting 14.Sh SYNOPSIS 15.Nm tee 16.Op Fl ai 17.Op Ar file ... 18.Sh DESCRIPTION 19The 20.Nm tee 21utility copies standard input to standard output, 22making a copy in zero or more files. 23The output is unbuffered. 24.Pp 25The following options are available: 26.Bl -tag -width Ds 27.It Fl a 28Append the output to the files rather than 29overwriting them. 30.It Fl i 31Ignore the 32.Dv SIGINT 33signal. 34.El 35.Pp 36The following operands are available: 37.Bl -tag -width file 38.It file 39A pathname of an input 40.Ar file . 41If no file operands 42are specified, the standard input is used. 43.El 44.Pp 45The 46.Nm tee 47utility takes the default action for all signals, 48except in the event of the 49.Fl i 50option. 51.Pp 52The 53.Nm tee 54utility exits 0 on success, and >0 if an error occurs. 55.Sh STANDARDS 56The 57.Nm tee 58function is expected to be 59.Tn POSIX 601003.2 compatible. 61