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 argu-
ment 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 unprint-
able. 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 unprintable 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.
1
cat(1) MPE/iX Shell and Utilities cat(1)
______________________________________________________________________
Message: Unknown option "-option"
Cause: You specified an option that is not valid for cat.
Action: Check the DESCRIPTION section for a list of valid cat
options.
Message: write error on standard output: system error
Cause: See syserror(3).
Action: See syserror(3).
PORTABILITY
POSIX.2. x/OPEN Portability Guide 4.0. All UNIX systems.
The -e, -s, -t, and -v options are extensions to the POSIX stan-
dard.
SEE ALSO
cp(1), more(1), mv(1)
MPE/iX NOTES
On MPE/iX, cat is available as both a built-in shell utility and
an external utility.
For more information on how the current MPE/iX implementation may
affect the operation of this utility, see Appendix A, MPE/iX
Implementation Considerations.
2