Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ (1) — Plan9 3rd Edition (Vita Nuova)

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cp(1)

stream(1)

CAT(1)

NAME

cat − concatenate files

SYNOPSIS

­cat [ ­- ] [ ­file ...  ]

DESCRIPTION

­Cat reads each ­file in turn and writes it on the standard output.  Thus

cat file

prints the file to standard output, and the following

cat file1 file2 >file3

concatenates two files onto a third. 

If no ­file is given, or where ­− is given as an argument, ­cat reads from the standard input.  Output is buffered in blocks matching the input. 

SOURCE

­/appl/cmd/cat.b

SEE ALSO

cp(1), stream(1)

BUGS

Beware of ­cat a b >a and ­cat a b >b which destroy input files before reading them. 

Plan 9  —  June 29, 2000

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