forked from koalaman/shellcheck
-
Notifications
You must be signed in to change notification settings - Fork 0
SC2116
Vidar Holen edited this page Oct 4, 2015
·
5 revisions
a=$(echo $?)
a="$?"
Most of the time, this is an useless echo meaning it isn't doing anything that the Shell can't already do. Having the shell expand the contents for you is simpler and more reliable. Just remember to double quote the argument!
None I am aware of at the moment.