SUNWcsu
The operators and keywords are listed below. Characters that need to be escaped are preceded by \. The list is in order of increasing precedence, with equal precedence operators grouped within {} symbols.
example% ‘fmlexpr $a + 1 | set -l a‘
example% fmlexpr $a : .*/\(.*\) \|
example% fmlexpr //$a : .*/\(.*\)
example% fmlexpr $VAR : .*
As a side effect of expression evaluation, fmlexpr returns the following exit values:
In the case of syntax errors and non-numeric arguments, an error message will be printed at the current cursor position. Use refresh to redraw the screen.
example% fmlexpr $a = =
looks like:
example% fmlexpr = = =
as the arguments are passed to fmlexpr (and they will all be taken as the = operator). The following works, and returns TRUE :
example% fmlexpr X$a = X=