-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC2116
cstackpole edited this page Jul 23, 2014
·
7 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.