"Chris F.A. Johnson" <[EMAIL PROTECTED]> writes:

>> $ let tmp="foo.a"+0
>> $ let ++i
>> $ echo $i
>> 0
>    I agree that it is a bug, but it is one that will never bother me
>    because I always use the POSIX arithmetic syntax:

happens there too:

$ : $(( tmp=foo.a+0 ))
bash: tmp=foo.a+0 : syntax error: invalid arithmetic...
$ i=0 ; : $(( ++i )) ; echo $i
0


Enrico


Reply via email to