> > echo 1 2 | hoc -e '{while(read(x) != 0)y += x' ^ $nl ^ ' print y, "\n"}'
> 
> Maybe it makes a sense to add in hoc(1) expression delimiter like a ';'?

i don't use hoc very often.  i tend to use acid.  (!)
this is because hoc won't do bit operations and doesn't
accept hex.

i typically do programming calculations and floating point
just isn't the right way to do that.

- erik

Reply via email to