Escape Dollar Sign in Quotes Low

Closing and reopening quotes to make a dollar sign literal creates complexity in shell scripts. Instead, use a backslash to escape the dollar sign within the quotes, maintaining a cleaner and more readable code structure.

Detector ID
shell/escape-dollar-sign-in-quotes@v1.0
Category
Common Weakness Enumeration (CWE) external icon
-
Tags
-