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.

Exit Values<br />

Messages<br />

Portability<br />

0 Successful completion<br />

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

v Insufficient memory<br />

v Insufficient line width<br />

v Write error on stdout<br />

2 Syntax error or unknown command-line option<br />

Possible error messages include:<br />

Missing header<br />

You specified –h or –H but did not supply a header or header_fmt string.<br />

Width is insufficient<br />

The line is not wide enough to hold the given number of columns with the<br />

given column width; or a column is not wide enough to hold the minimum<br />

amount of data.<br />

P<strong>OS</strong>IX.2, X/Open Portability Guide.<br />

The –c, –H, –p, and –W options are extensions of the P<strong>OS</strong>IX standard.<br />

In a doublebyte environment, remember that column positions are always based on<br />

the width of characters. A doublebyte character may take up two columns of output<br />

(called a thick character), but a singlebyte character will only take up one column of<br />

output (called a thin character). Specify column widths according to the expected<br />

thickness of characters.<br />

For example, with a column width of 10, then ten thin characters or five thick<br />

characters are displayed.<br />

Related Information<br />

cat, expand, fold, unexpand<br />

Appendix I also explains how to set the local time zone with the TZ environment<br />

variable.<br />

print — Return arguments from the shell<br />

Format<br />

Description<br />

Options<br />

print [–npRrs] [–u[descriptor]] [argument ...]<br />

Calling print without options or with only the – option displays each argument to the<br />

standard output using the same escape conventions as echo. In this case, print<br />

and echo work the same way; see echo.<br />

The options accepted by print increase its utility beyond that of echo.<br />

pr<br />

Chapter 2. Shell command descriptions 511

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

Saved successfully!

Ooh no, something went wrong!