Updated SC2223 (markdown)

Vidar Holen
2018-04-28 12:36:03 -07:00
parent 0b21e8dd9b
commit 6b571f4d7d

@@ -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.