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.

lex<br />

Limits<br />

Portability<br />

Related Information<br />

yacc<br />

v Too many translations<br />

v Unknown option<br />

v Write error on file<br />

v Incomplete %{ declaration<br />

v Token buffer overflow<br />

The parser stack depth is limited to 150 levels. Attempting to process extremely<br />

complicated syntaxes may result in an overflow, causing an error.<br />

P<strong>OS</strong>IX.2, P<strong>OS</strong>IX.2 C-Language Development Utilities Option, <strong>UNIX</strong> systems.<br />

The –a, –h, –l, –o, –p, –P, and –T options are extensions of the P<strong>OS</strong>IX standard.<br />

For more information, see z/<strong>OS</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> Programming Tools.<br />

line — Copy one line of standard input<br />

Format<br />

Description<br />

Examples<br />

Localization<br />

Exit Values<br />

line<br />

Note: The line utility is fully supported for compatibility with older <strong>UNIX</strong> systems.<br />

However, it is recommended that the read utility be used instead because it<br />

may provide greater functionality and is considered the standard for portable<br />

<strong>UNIX</strong> applications as defined by P<strong>OS</strong>IX.2 IEEE standard 1003.2-1992.<br />

line copies one input line from its standard input (stdin) to its standard output<br />

(stdout). The end of the line is the first newline encountered. This is useful in shell<br />

files that need small amounts of input (for example, responses to prompts).<br />

echo “Enter name:\c”<br />

NAME=`line`<br />

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

v LANG<br />

v LC_ALL<br />

v LC_MESSAGES<br />

v NLSPATH<br />

See Appendix F for more information.<br />

0 A line was read successfully<br />

1 line reached end-of-file before finding a newline character<br />

346 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!