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: