SC2086

The ShellCheck warning for an unquoted variable expansion, which may be split into several words or expanded as a glob.

In more detail

It is the most common ShellCheck finding and usually a real bug waiting for a file name with a space in it. The fix is to wrap the expansion in double quotes, or to use an array when a list of words is intended.

Related terms

Taught in

References