Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tee(1) — DG/UX 4.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought



                                                                   tee(1)



        _________________________________________________________________
        tee                                                       Command
        pipe fitting
        _________________________________________________________________


        SYNTAX

        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 (^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.
        _________________________________________________________________










        DG/UX 4.00                                                 Page 1
               Licensed material--property of copyright holder(s)



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