TLDR · QUICK LINKS

MAGIC NAMEREFS

gist.github.com2 min read

Summary from the TLDR newsletter

namerefs (introduced in bash 4.0) act as aliases for other variables and can also reference a specific element in an array, allowing for the creation of magic variables that evaluate any arbitrary expression.