Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cat(1) — A/UX 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cp(1)

head(1)

pg(1)

pr(1)

tail(1)




cat(1) cat(1)
NAME cat - concatenate and display the contents of named files SYNOPSIS cat [-u] [-s] [-v [-t] [-e]] files DESCRIPTION cat reads each file in sequence and writes it on the stan- dard output. If no input file is given, or if the argument - is encoun- tered, cat reads from the standard input file. Output is buffered unless the -u flag option is specified. The -s flag option makes cat silent about nonexistent files. The -v flag option causes nonprinting characters (with the exception of tabs, newlines and form feeds) to be displayed. Control characters are displayed as ^X (CONTROL-x); the DELETE character (octal 0177) is displayed as ^?. Non-ASCII characters (with the high bit set) are displayed as M-x, where x is the character specified by the seven low-order bits. When used with the -v flag option, -t causes tabs to be displayed as ^I's and form feeds to be displayed as ^L's. When used with the -v flag option, -e causes a $ character to be displayed at the end of each line (prior to the new- line). The -t and -e flag options are ignored if the -v flag option is not specified. EXAMPLES cat file displays file, and: cat file1 file2 > file3 concatenates the first two files and places the result in the third. WARNINGS Command formats such as cat file1 file2 > file1 will cause the original data in file1 to be lost; therefore, take care when using shell special characters. FILES /bin/cat April, 1990 1



cat(1) cat(1)
SEE ALSO cp(1), head(1), pg(1), pr(1), tail(1). 2 April, 1990

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