diff --git a/SC2223.md b/SC2223.md index e6ceb0f..d30fa25 100644 --- a/SC2223.md +++ b/SC2223.md @@ -19,6 +19,12 @@ If `COLUMNS='/*/*/*/*/*/*'`, the unquoted, problematic code may spend 30+ minute The correct code uses double quotes to avoid glob expansion, and therefore does not have this problem. +When quoting, make sure to update any inner quotes: + + : ${var:='foo'} # Assigns foo without quotes + : "${var:='foo'}" # Assigns 'foo' with quotes + + ### Exceptions: None, though this issue is largely theoretical. \ No newline at end of file