Examine

examine expr1

Print value of an expression via typeset, let, and failing these, eval.

Single variables and arithmetic expressions do not need leading $ for their value is to be substituted. However if neither these, variables need $ to have their value substituted.

In contrast to normal ksh expressions, expressions should not have blanks which would cause ksh to see them as different tokens.

Examples:

examine x+1   # ok
examine x + 1 # not ok

See also

eval.