Here-Document Command Terminator Placement Medium

Placing command terminators (such as ; or &) after the here-document end token can lead to syntax errors or unexpected behavior. To fix this, move the command terminators to the line that initiates the here-document (the line containing <<).

Detector ID
shell/here-doc-command-terminator-placement@v1.0
Category
Common Weakness Enumeration (CWE) external icon
-
Tags
-