Thanks Grisha,
Sorry for putting you through analysing my faulty example.
Phil
On 16 May 2016 at 05:58, Grisha Levit wrote:
>
> On Sun, May 15, 2016 at 4:42 PM, phil colbourn
> wrote:
> > # here, M=2
>>
>>
> It's not -- the value of $M here is the string "F[word]". Your print
> function r
On Sun, May 15, 2016 at 4:42 PM, phil colbourn
wrote:
> # here, M=2
>
>
It's not -- the value of $M here is the string "F[word]". Your print
function reports the value of "$((M*1))", which is, in fact "2": inside the
arithmetic expression "M" is expanded to "F[word]" which is expanded to "2".
>