Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tee(1) — HP-UX 8.05

Media Vault

Software Library

Restoration Projects

Artifacts Sought

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. The −i option ignores interrupts; the −a option causes the output to be appended to the files rather than overwriting them. 

EXTERNAL INFLUENCES

Environment Variables

LANG determines the language in which messages are displayed. 

If LANG is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of LANG. 

If any internationalization variable contains an invalid setting, tee behaves as if all internationalization variables are set to "C".  See environ(5).

International Code Set Support

Single- and multi-byte character code sets are supported. 

RETURN VALUE

Exit values are:

 0 Successful completion. 

>0 Error condition occured. 

EXAMPLES

The command:

who │ tee −a hunt

writes a list of users to the screen and also appends the list to the file hunt. 

STANDARDS CONFORMANCE

tee: SVID2, XPG2, XPG3, proposed POSIX.2 FIPS (June 1990)

Hewlett-Packard Company  —  HP-UX Release 8.05: June 1991

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