

typeset                      Command                      typeset




Set/list variables and their attributes

ttyyppeesseett
ttyyppeesseett [+-]ffrr
ttyyppeesseett [ iirrxx ] _v_a_r_i_a_b_l_e=_v_a_l_u_e

The command ttyyppeesseett is built into  the Korn shell kksshh. It sets or
lists all variables and their attributes.

When called with an  argument of the form _v_a_r_i_a_b_l_e=_v_a_l_u_e, it sets
variable _v_a_r_i_a_b_l_e to _v_a_l_u_e. The following options modify _v_a_r_i_a_b_l_e
or _v_a_l_u_e:


             ii       Store _v_a_l_u_e as an integer
             rr       Make _v_a_r_i_a_b_l_e _r_e_a_d-_o_n_l_y
             xx       Export _v_a_r_i_a_b_l_e to the environment


When called without  an argument, ttyyppeesseett lists all variables and
their attributes.  When called with one of the following options,
it lists  the variables of  the appropriate type.   When prefixed
with a  hyphen `-', it  prints the variable plus  its value; when
prefixed with a plus sign `+', it prints the variable alone:


             ff       List functions instead of variables
             rr       List read-only variables


***** See Also ***** ccoommmmaannddss, kksshh

























COHERENT Lexicon                                           Page 1


