MPE/iX Shell and Utilities Reference Manual, Vol 2
typeset(1) MPE/iX Shell and Utilities typeset(1)
–u converts lowercase characters to uppercase in any value assigned to a variable. If the
–l option is currently turned on, this option turns it off.
When used with –f, –u indicates that the functions named in the command line are
not yet defined. The attributes specified by the typeset command are applied to
the functions once they are defined.
–x sets each variable for automatic export. See export(1).
The last three options that follow justify, within a field, the values assigned to each variable.
The width of the field is number if it is defined and non-zero; otherwise, the width is that of
the first assignment made to variable.
–L[number]
left justifies the values assigned to each variable by first removing any leading
blanks. Leading zeroes are also removed if the –Z option has been turned on. Then
blanks are added on the end or the end of the value is truncated as necessary. If the
–R flag is currently turned on, this option turns it off.
–R[number]
right justifies the values assigned to each variable by adding leading blanks or by
truncating the start of the value as necessary. If the –L flag is currently turned on,
this option turns it off.
–Z[number]
right justifies values assigned to each variable. If the first non-blank character of val-
ue is a digit, leading zeroes are used. See also the –L option.
DIAGNOSTICS
Possible exit status values are:
0 Successful completion.
2 Failure due to an invalid command line argument.
If the command is used to display the values of variables, the exit status value is the number of
names that are invalid.
Messages
Because this utility is built into the
MPE/iX Shell, see the sh(1) man page for a complete list of
error messages that you may receive when using it.
PORTABILITY
typeset is a built-in command of the KornShell on UNIX systems, but is not a Bourne Shell
command.
1-622 Commands and Utilities