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.

Usage Note<br />

Localization<br />

Exit Value<br />

Portability<br />

produces: fred fred fred<br />

Related Information<br />

exec, sh, tcsh<br />

ex — Use the ex text editor<br />

Format<br />

Description<br />

Options<br />

eval is a special built-in shell command.<br />

eval 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 />

The only possible exit status value is:<br />

0 You specified no arguments or the specified arguments were empty strings<br />

Otherwise, the exit status of eval is the exit status of the command that eval runs.<br />

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

ex [–eRrsvx] [+ command] [–c command] [–t tag] [–w size] [file ...]<br />

ex is the line-editor mode of the vi text editor.<br />

The ex internal commands are described in vi. It supports the following options:<br />

+command<br />

Begins the editing session by running the specified editor command. To<br />

specify multiple commands, separate them with an “or” bar (|).<br />

–c command<br />

Begins editing by executing the specified editor command. You can specify<br />

multiple commands by separating them with an “or” bar (|). command can<br />

be any ex command except those that enter input mode, such as insert or<br />

append.<br />

–e Invokes ex. This option is intended for use with vi.<br />

–r Lets you recover named files after an editor or system fails. If you don’t<br />

specify a file argument, ex lists all recoverable files and then exits.<br />

–R Sets read-only mode.<br />

eval<br />

Chapter 2. Shell command descriptions 259

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

Saved successfully!

Ooh no, something went wrong!