Searched refs:calcline (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libshell/common/scripts/
H A Dshcalc.sh57 typeset calcline="$1"
60 printf "(( x=( %s ) ))\n" "${calcline}" | source /dev/stdin
62 print -f $"%s: Syntax error in %s\n" "${progname}" "${calcline}"
66 printf "%s == %.40g\n" "${calcline}" x
126 while read "calcline?calc> " ; do
128 [[ "${calcline}" == ~(Elri)(exit|quit|eof) ]] && break
131 [[ "${calcline}" == ~(Elri)([[:space:]]*) ]] && continue
133 do_calculate "$calcline"

Completed in 54 milliseconds