HomeFreeBSD

SC2068: Double quote array expansions to avoid re-splitting elements.

Description

SC2068: Double quote array expansions to avoid re-splitting elements.

Double quotes around $@ prevents globbing and word splitting of
individual elements, while still expanding to multiple separate
arguments.

Add exceptions when splitting is the intended behavior.

PR: 227109
Submitted by: mat
Sponsored by: Absolight

Details

Provenance
matAuthored on
Parents
rP471264: SC2145: Argument mixes string and array. Use * or separate argument.
Branches
Unknown
Tags
Unknown