From c2aefc34d7b27341c176e570f322ad5f28e0a4a6 Mon Sep 17 00:00:00 2001 From: faizan431517 <64598191+faizan431517@users.noreply.github.com> Date: Sat, 2 May 2020 03:24:20 -0700 Subject: [PATCH] Updated SC1036 (markdown) --- SC1036.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SC1036.md b/SC1036.md index fde405b..bf05248 100644 --- a/SC1036.md +++ b/SC1036.md @@ -3,9 +3,12 @@ ### Problematic code: ```sh -echo (foo) bar +echo "(foo) bar" # Literal parentheses +echo "$(foo) bar" # Command expansion +echo "foo bar" # Tried to use parentheses for grouping or function invocation ``` + ### Correct code: Depends on your intention: