Hello list.

I was planning to write this for some days, because v14.10 will
definetely not happen no more in 2022.
Too much is still left to do.

We got $(( 1 + 1 ))-style arithmetic, and our `if'.. conditional
expression are now en par with the [[ .. ]] construct of some
shells, including nice regular expression match group access, and
even the usual file test(1) operators!  Ie v14.10 is capable of

  ? \if bananarama =~?case (.*)NANA(.*); echo $^0: $^1 and $^2; \end
  bananarama: ba and rama
  ? if -e /etc/passwd && -f? _; echo yep; end
  yep
  ? if ! -w /etc/passwd; echo ..ok; end
  ..ok

(where "case" is still optional, as is the "saturated" missing
from the second.)  And i have a new desc calculator that replaced
an according perl(1) sh(1)ell alias:

  define xarith {
     #\if true
        \local eval ignerr : \$((r=("${@}")))
        \local set e=${?}
        \if ${e} -eq 0; \vexpr = ${r}; \end
     #\else
        #\local eval ignerr set r=\"\$(("${@}"))\"
        #\local set e=${?}
        #\if ${e} -ne -1; \vexpr = ${r}; \end
     #\end
     \return ${e}
  }
  \commandalias xa '\call xarith'

  ?  xa (21 | 42) + 1
  0b 00000000 00000000 00000000 00000000 00000000 00000000 00000000 01000000
  0100 | 0x40 | 64

Well and if you ask ME why a command line mailer needs that.
Eh, then i had to think.
:-)

It will have email-related improvements, too. ;

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

Reply via email to