-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC2079
Mark Lavi edited this page Oct 14, 2018
·
2 revisions
Bash arithmetic conditional evaluation can only be performed on integers. More detail: Bash has limited data types which include integer, but everything is effectively untyped.
Suggested workarounds to this constraint use bc or awk, here are some examples.