minor grammar

quale1
2016-03-07 23:10:22 -06:00
parent f716229416
commit 540595c92a

@@ -22,7 +22,7 @@ l=${#var}
### Exceptions ### Exceptions
`sh` doesn't have a great replacement for the `:` operator (regex match). ShellCheck tries not to warn when using expr with `:`, but e.g. `op=:; expr string "$op" regex` still trigger it. `sh` doesn't have a great replacement for the `:` operator (regex match). ShellCheck tries not to warn when using expr with `:`, but e.g. `op=:; expr string "$op" regex` will still trigger it.
Other than that, all uses of `expr` can be rewritten to use modern shell features instead. Other than that, all uses of `expr` can be rewritten to use modern shell features instead.