Peng Yu
2018-10-21 21:18:31 UTC
Hi,
I see the following.
((x=0))
$ echo $?
1
I am not sure whether it is a good idea to return non zero exit status
when a numeric variable is zero, as this can cause problems when `set
-e` is used. Is there is a strong justification why this behavior is
reasonable?
I see the following.
((x=0))
$ echo $?
1
I am not sure whether it is a good idea to return non zero exit status
when a numeric variable is zero, as this can cause problems when `set
-e` is used. Is there is a strong justification why this behavior is
reasonable?
--
Regards,
Peng
Regards,
Peng