Suggest using $((..)) in [ 2*3 -eq 6 ] (fixes #1641)

This commit is contained in:
Vidar Holen 2019-10-12 19:55:20 -07:00
parent de9ab4e6ef
commit afea62de4e
3 changed files with 28 additions and 2 deletions

View file

@ -114,6 +114,10 @@ binaryTestOps = [
"-gt", "-ge", "=~", ">", "<", "=", "\\<", "\\>", "\\<=", "\\>="
]
arithmeticBinaryTestOps = [
"-eq", "-ne", "-lt", "-le", "-gt", "-ge"
]
unaryTestOps = [
"!", "-a", "-b", "-c", "-d", "-e", "-f", "-g", "-h", "-L", "-k", "-p",
"-r", "-s", "-S", "-t", "-u", "-w", "-x", "-O", "-G", "-N", "-z", "-n",