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.

Options<br />

Usage notes<br />

Localization<br />

Exit Values<br />

Messages<br />

Portability<br />

unset in the tcsh shell<br />

unset removes all variables whose names match pattern, unless they are read-only.<br />

For example:<br />

unset *<br />

which we strongly recommend you do not do, will remove all variables unless they<br />

are read-only. It is not an error for nothing to be unset.<br />

See “tcsh — Invoke a C shell” on page 626.<br />

–f Removes the value and attributes of each function name.<br />

–v Removes the attribute and value of the variable name. This is the default if<br />

no options are specified.<br />

unset cannot remove names that have been set read-only.<br />

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

unset 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 Successful completion<br />

1 Failure due to an incorrect command-line option<br />

2 Failure due to an incorrect command-line argument<br />

Otherwise, unset returns the number of specified names that are incorrect, not<br />

currently set, or read-only.<br />

Possible error messages include:<br />

name readonly variable<br />

The given name cannot be deleted because it has been marked read-only.<br />

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

Related Information<br />

readonly, sh, tcsh<br />

unset<br />

Chapter 2. Shell command descriptions 733

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

Saved successfully!

Ooh no, something went wrong!