Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
On 10/10/18 12:47 PM, Bruce Hohl wrote:
> An arithmetic evaluation / expansion question please: the man page
> indicates that base 10 is the default, and null or unset variables evaluate
> to zero.
>
> Are strings also evaluated to zero within $(( ))?
Expressions that resolve to unset variables (since a token that looks
like a shell identifier is treated as a variable name) evaluate to 0.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU address@hidden http://tiswww.cwru.edu/~chet/