HomeFreeBSD

SC1004: This backslash+linefeed is literal. Break outside single quotes if you…

Description

SC1004: This backslash+linefeed is literal. Break outside single quotes if you just want to break the line.

You have a single quoted string containing a backslash followed by a
linefeed (newline). Unlike double quotes or unquoted strings, this has
no special meaning. The string will contain a literal backslash and a
linefeed.

If you wanted to break the line but not add a linefeed to the string,
stop the single quote, break the line, and reopen it.

PR: 227109
Submitted by: mat
Sponsored by: Absolight

Details

Provenance
matAuthored on
Parents
rP471993: SC2035: Use ./*glob* or -- *glob* so names with dashes won't become options.
Branches
Unknown
Tags
Unknown