Golden Codes - armanexplorer planet

Practical code snippets for Django, Python, Bash, Git and All!

View on GitHub

indirect variable reference

${!var}: This is an indirect variable reference. It retrieves the value of the variable whose name is stored in the variable var. For example, if var contains the string "myvar", then ${!var} is equivalent to ${myvar}