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 Note<br />

–f Specifies attributes of functions.<br />

–H Performs file mapping from P<strong>OS</strong>IX to the host name.<br />

–i[number]<br />

Marks each variable as having an integer value, thus making arithmetic<br />

faster. If number is given and is nonzero, the output base of each variable<br />

is number. The default is decimal.<br />

–l Converts uppercase characters to lowercase in any value assigned to a<br />

variable. If the –u option is currently turned on, this option turns it off.<br />

–p Writes output to the coprocess. This option is not currently implemented.<br />

–r Makes each variable read-only. See readonly.<br />

–t Tags each variable. Tags are user-defined, and have no meaning to the<br />

shell. For functions with the –f option, this turns on the xtrace option. See<br />

set for a discussion of the xtrace option.<br />

–u Converts lowercase characters to uppercase in any value assigned to a<br />

variable. If the –l option is currently turned on, this option turns it off.<br />

When used with –f, the –u option indicates that the functions named in the<br />

command line are not yet defined. The attributes specified by the typeset<br />

command are applied to the functions once they are defined.<br />

–x Sets each variable for automatic export. See export.<br />

The last three options that follow justify, within a field, the values assigned to each<br />

variable. The width of the field is number if it is defined and is nonzero; otherwise,<br />

the width is that of the first assignment made to variable.<br />

–L[number]<br />

Left-justifies the values assigned to each variable by first removing any<br />

leading blanks. Leading zeros are also removed if the –Z option has been<br />

turned on. Then blanks are added on the end or the end of the value is<br />

truncated as necessary. If the –R flag is currently turned on, this option<br />

turns it off.<br />

–R[number]<br />

Right-justifies the values assigned to each variable by adding leading<br />

blanks or by truncating the start of the value as necessary. If the –L flag is<br />

currently turned on, this option turns it off.<br />

–Z[number]<br />

Right-justifies values assigned to each variable. If the first nonblank<br />

character of value is a digit, leading zeros are used. See also the –L option.<br />

typeset is a built-in shell command as well as a separate utility.<br />

typeset<br />

An autoloaded function is defined (loaded) by the /bin/sh shell when invoked as a<br />

command name, it’s not already defined to the shell, and the function definition file<br />

is found in a directory specified in the FPATH variable. (For more information see<br />

“<strong>Command</strong> Execution” on page 556 under the sh command.) To replace an<br />

autoloaded function, use the unset -f name command. The next time the function<br />

name is invoked, the FPATH search will find the new version.<br />

Chapter 2. Shell command descriptions 717

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

Saved successfully!

Ooh no, something went wrong!