cat - concatenate files — Inferno 1ed
cat - concatenate files
cat [-] [file...]
Description
The cat command reads each file in sequence and writes it on the standard output. The following command prints the file to standard output:
cat file
The following command concatenates two files into a third:
Caveat
Beware of cat a b >a and cat a b >b, which destroy input files before reading them. See Also
|
read, write, stream - read, write, or stream file in Chapter 8
|
|
Integer File Descriptor in Chapter 8
|
infernosupport@lucent.com Copyright © 1996,Lucent Technologies, Inc. All rights reserved.