You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently you should never pass variables containing arbitrary text to printf as part of the format string, because if they contain any % characters, printf will try to interpret them as a format sequence for a following variable, and will throw an error. Instead, pass variables to printf only as arguments required by a manually-specified format string.
Apparently you should never pass variables containing arbitrary text to
printf
as part of the format string, because if they contain any%
characters,printf
will try to interpret them as a format sequence for a following variable, and will throw an error. Instead, pass variables toprintf
only as arguments required by a manually-specified format string.Ex: use
OR (same thing apparently)
Instead of:
See the comments under my answer here: https://stackoverflow.com/questions/29933349/how-can-i-make-git-commit-messages-divide-into-multiple-lines/60826932#60826932
and also do some googling on how to properly use variables in bash
printf
statements.The text was updated successfully, but these errors were encountered: