16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

captoinfo<br />

Related Information<br />

infocmp, tic<br />

cat — Concatenate or display text files<br />

Format<br />

Description<br />

Options<br />

Localization<br />

Exit Values<br />

cat [–su] [–v [et]] [file ...]<br />

cat displays and concatenates files. It copies each file argument to the standard<br />

output (stdout). If you specify no files or specify a dash (–) as a filename, cat<br />

reads the standard input (stdin).<br />

Note: You can use cat in conjunction with the scrolling facility of the OMVS TSO/E<br />

command to browse data files.<br />

–e Displays a $ character at the end of each line. This option works only if you<br />

also specify –v.<br />

–s Does not produce an error message if cat cannot find or read a specified<br />

file.<br />

–t Displays tabs as ^I. This option works only if you also specify –v.<br />

–u Does not buffer output.<br />

–v Displays all characters including those that are unprintable characters. With<br />

a doublebyte character set, an unprintable wide character is converted back<br />

to its doublebyte representation. Each byte is then checked as if it were a<br />

singlebyte character. If the character is unprintable, one of the following<br />

three representations is used:<br />

v M–X is used for character X if the significant bit is set.<br />

v ^X is used for the control character X (for example, ^A for CTRL-A).<br />

v \xxx represents a character with the octal value xxx.<br />

The \xxx form is used if neither of the other representations can be used.<br />

cat uses the following localization environment variables:<br />

v LANG<br />

v LC_ALL<br />

v LC_CTYPE<br />

v LC_MESSAGES<br />

v LC_SYNTAX<br />

v NLSPATH<br />

See Appendix F, “Localization” for more information.<br />

0 Successful completion<br />

1 Failure due to any of the following:<br />

v An incorrect command-line argument<br />

v Inability to open the input file<br />

110 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!