From d66281ad50bbe317d82def2ac85f4d20130136ef Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Sat, 1 May 2021 20:57:18 -0700 Subject: [PATCH] Updated SC3044 (markdown) --- SC3044.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SC3044.md b/SC3044.md index 1cdecab..f3910f4 100644 --- a/SC3044.md +++ b/SC3044.md @@ -26,7 +26,7 @@ declare ... If assigning a simple variable outside of a function, skip `declare` all together: ```sh -var=value +var="value" ``` If declaring a variable read-only: @@ -42,7 +42,7 @@ If you are unable to find a suitable replacement, consider switching to a shell declare ... ``` -Indexed arrays, associative arrays, local variables, namerefs, and integer variables are not supported in POSIX sh. +Indexed arrays, associative arrays, local variables, namerefs, and integer variables are not supported in POSIX sh. Either write around them, or switch to a shell that supports them. ### Rationale: