mrsh
mrsh copied to clipboard
expected a factor after + or - operator
sample:
echo $(( var += 1 ))
output:
dash, ash, mksh, oksh, yash, zsh(--emulate sh):
1
mrsh:
test.sh (arithmetic 1:7): expected a factor after + or - operator
==, !=, =, *=, /=, %=, -=, <<=, >>=, &=, ^=, |=, expr?expr:expr is broken/unsupported too.
- https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_04
- https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap01.html#tag_17_01_02_01