Updated SC2183 (markdown)

koalaman
2016-09-06 21:03:46 -07:00
parent cc88d466fa
commit 0ac3373d1f

@@ -15,7 +15,7 @@ printf "Hello %s, welcome to %s.\n" "$USER" "$HOSTNAME"
ShellCheck has noticed that you're using a `printf` format string with more `%s` variables than arguments to fill them. ShellCheck has noticed that you're using a `printf` format string with more `%s` variables than arguments to fill them.
In the problematic example case, the last `%s` will just become an empty string each time. In the problematic example case, the last `%s` will just become an empty string every time.
Either remove the unused variables from the format string, or add enough arguments to fill them. Either remove the unused variables from the format string, or add enough arguments to fill them.