Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tee(1) — DG/UX 4.30

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     tee(1)                     DG/UX 4.30                      tee(1)



     NAME
          tee - pipe fitting

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

     DESCRIPTION
          Tee transcribes the standard input to the standard output
          and makes copies in the 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 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.






















     Licensed material--property of copyright holder(s)         Page 1



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