-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC2269
Vidar Holen edited this page Dec 12, 2020
·
1 revision
var="$var"
# If the goal is to do nothing
true
ShellCheck found a variable that is assigned to itself, e.g. x=$x
. This obviously has no effect.
Double check what the assignment was supposed to do.
None.
- Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc!