Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tee(C) — OpenDesktop 1.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


     TEE(C)                               UNIX System V



     Name
          tee - creates a tee in a pipe


     Syntax
          tee [ -i ] [ -a ] [ -u ] [ file ] ...


     Description
          tee transcribes the standard input to  the  standard  output
          and  makes  copies  in  the  files.   The  -i option ignores
          interrupts; the -a option causes the output to  be  appended
          to  the  files  rather than overwriting them.  The -u option
          causes the output to be unbuffered.


     Examples
          The following example illustrates the creation of  temporary
          files at each stage in a pipeline:

               grep ABC | tee ABC.grep | sort | tee ABC.sort | more

          This example shows how to tee output to the terminal screen:

               grep ABC | tee /dev/ttyxx | sort | uniq >final.file

     Standards Conformance
          tee is conformant with:
          AT&T SVID Issue 2, Select Code 307-127;
          and The X/Open Portability Guide II of January 1987.


     (printed 2/15/90)                                     TEE(C)

















































































































































































































































































































































































































































































































































































Typewritten Software • bear@typewritten.org • Edmonds, WA 98026