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
Nothing, since this is the way to use 'gettext' IMHO.
The text was updated successfully, but these errors were encountered:
nihilus
changed the title
Flase positive of 2059 and 2005 when combining printf and gettext
False positive of 2059 and 2005 when combining printf and gettext
Jan 21, 2018
About SC2005, if you have other contents in the string passed to echo then it shouldn't trigger and if you don't have other contents in the string passed to echo then why is SC2005 not correct? Do you need to use echo "$(gettext "Unknown")" instead of just gettext "Unknown" for some reason there to get the output you expect? (Though perhaps you need gettext -s "Unknown" there instead?)
For bugs
shellcheck --version
or "online"):For new checks and feature suggestions
Here's a snippet or screenshot that shows the problem:
Here's what shellcheck currently says:
Gives 2059 and 2005.
Here's what I wanted or expected to see:
Nothing, since this is the way to use 'gettext' IMHO.
The text was updated successfully, but these errors were encountered: