tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: mksh import
mouse%Rodents-Montreal.ORG@localhost (der Mouse) writes:
>> val=$(inmandelbrot rval ival rval ival 1 10)
>looks as though it's missing four dollar signs.
>Or Am I Missing Something (tm)?
Inside $(( )) variables are expanded without the $.
$ a=6
$ b=7
$ echo $(( a * b ))
42
$ echo $(( $a * $b ))
42
--
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."
Home |
Main Index |
Thread Index |
Old Index