Updated SC2035 (markdown)

Vidar Holen
2020-09-01 14:20:55 -07:00
parent efe143bc0e
commit d9c1064467

@@ -23,4 +23,6 @@ Similarly, `--` by convention indicates the end of options, and nothing after it
Note that changing `*` to `./*` in GNU Tar parameters will add `./` prefix to path names in the created archive. This may cause subtle problems (eg. to search for a specific file in archive, the `./` prefix must be specified as well). So using `-- *` is a safer fix for GNU Tar commands.
`echo` and `printf` does not have issues unless the glob is the first word in the command. ShellCheck 0.7.2+ does not warn for these commands.
For more information, see "[Filenames and Pathnames in Shell: How to do it Correctly](http://www.dwheeler.com/essays/filenames-in-shell.html)".