Updated SC2071 (markdown)

koalaman
2018-01-19 19:04:21 -08:00
parent aa42a83222
commit 439ca5570a

@@ -27,4 +27,9 @@ If you want to compare numbers by value, use the numerical comparison operators
### Exceptions:
If the strings happen to be version numbers and you're using <, or > to compare them as strings, and you consider this an acceptable thing to do, then you can ignore this warning.
If the strings happen to be version numbers and you're using <, or > to compare them as strings, and you consider this an acceptable thing to do, then you can ignore this warning.
### Related resources:
* [Bash Pitfalls: `[[ $foo > 7 ]]`](https://mywiki.wooledge.org/BashPitfalls#pf7)
* [StackOverflow: Comparing numbers in Bash](https://stackoverflow.com/questions/18668556/comparing-numbers-in-bash)