From 540595c92a70f9472f44068415b6e59e7c0839b9 Mon Sep 17 00:00:00 2001 From: quale1 Date: Mon, 7 Mar 2016 23:10:22 -0600 Subject: [PATCH] minor grammar --- SC2003.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SC2003.md b/SC2003.md index cc335cf..47a41c6 100644 --- a/SC2003.md +++ b/SC2003.md @@ -22,7 +22,7 @@ l=${#var} ### 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.