Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tee(1) — DG/UX R4.11

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

csh(1)

ksh(1)

sh(1)



tee(1)                           DG/UX R4.11                          tee(1)


NAME
       tee - pipe fitting

SYNOPSIS
       tee [ -i ] [ -a ] [ file ... ]

   where:
       file   An output file

DESCRIPTION
       Tee transcribes the standard input to the standard output and makes
       copies in the specified files.  If you specify the names of already-
       existing files, they will be overwritten.

       Tee is used mainly as part of a pipeline.  If you execute it on a
       command line by itself, it will take input from the standard input
       until it receives a control D (Ctrl-D).  It will echo each line to
       the standard output.

   Options
       -i     Ignore interrupts.

       -a     Append output to the specified files rather than overwrite
              them.

EXAMPLES
       $ ls | tee file.list

       This command sends a list of all files in the current directory to
       the standard output (the screen) and makes a copy in file.list.

       $ pr file | tee file.out | lp

       This command sends a print-formatted version of file through a pipe
       to lp, and also writes it to the file file.out.

SEE ALSO
       csh(1), ksh(1), sh(1).


Licensed material--property of copyright holder(s)

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