|
From: | Bruce Hohl |
Subject: | [Help-bash] Arithmetic evaluation / expansion question |
Date: | Wed, 10 Oct 2018 12:47:05 -0400 |
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 $(( ))? (Except those beginning with 0 which are octals.) $ pd=abc $ echo $pd abc $ echo $((pd)) 0
[Prev in Thread] | Current Thread | [Next in Thread] |