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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Localization<br />

Exit Values<br />

Portability<br />

This example illustrates the use of test, and is not intended to be an efficient<br />

method.<br />

test 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 for more information.<br />

0 The expression was true<br />

1 The expression was false<br />

2 The expression was badly formed<br />

Related Information<br />

expr, find, let, ls, sh<br />

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

The –k, –L, –nt, –ot, –ef, –a, and –o operators plus the use of parentheses to<br />

group operators together are all extensions of the P<strong>OS</strong>IX standard.<br />

tic — Put terminal entries in the terminfo database<br />

Format<br />

Description<br />

Options<br />

tic [–v]number [–c] file<br />

tic creates the terminfo database. It puts the compiled terminal entries in the<br />

directory /usr/share/lib/terminfo. If the TERMINFO environment variable is set, the<br />

results are placed in the directory specified by the TERMINFO environment variable<br />

rather than in the directory /usr/share/lib/terminfo.<br />

The Curses application uses the terminfo database, which contains a list of terminal<br />

descriptions. This enables you to manipulate a terminal’s display regardless of the<br />

terminal type. For information on defining the terminfo database, see z/<strong>OS</strong> <strong>UNIX</strong><br />

<strong>System</strong> <strong>Services</strong> Planning.<br />

For more information about curses, see z/<strong>OS</strong> C Curses.<br />

–vNumber<br />

Writes trace entries on the progress of tic. Number is an integer that<br />

indicates the level of verbosity. Levels 1, 2, 5, 7, 8, and 9 or greater are<br />

supported.<br />

test<br />

Chapter 2. Shell command descriptions 697

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

Saved successfully!

Ooh no, something went wrong!