MPE/iX Shell and Utilities Reference Manual, Vol 1

cat(1) MPE/iX Shell and Utilities cat(1)
NAME
cat — concatenate and display text files
SYNOPSIS
cat [–su][–v[et]] [file ...]
DESCRIPTION
cat displays and concatenates files. It copies each file argument to the standard output. If
you specify no files or give as a file name, cat reads the standard input.
Options
cat accepts the following options:
–e displays a $ character at the end of each line. This option only works if you also
specify –v.
–s does not produce an error message if cat cannot find or read a specified file.
–t displays tabs as ˆI. This option only works if you also specify –v.
–u does not buffer output.
–v displays all characters including those that are unprintable. If the most significant bit
in a character is set and the character is non-printable, cat displays the character
without that bit, but precedes it with the characters M-. cat displays other unprint-
able characters as ˆ followed by the character representing the control character (for
example, ˆA for
CTRL-A).
DIAGNOSTICS
Possible exit status values are:
0 Successful completion.
1 An error occurred.
Messages
Message: filename: system error
Cause: See syserror(3).
Action: See syserror(3).
Message: input file "filename" is identical with output
Cause: You specified filename as both an input and output file. It is also possible that
the output file was linked to filename.
Action: Use a file other than filename as the output file.
Commands and Utilities 1-81