Backslash followed by a linefeed Low

In single-quoted strings, a backslash followed by a linefeed is interpreted literally, unlike in double-quoted or unquoted strings. If you want to break the line without adding a linefeed, you should end the single quote, break the line, and then reopen the quote. This behavior is illustrated in the correct code example.

Detector ID
shell/backslash-followed-by-a-linefeed@v1.0
Category
Common Weakness Enumeration (CWE) external icon
-
Tags
-