in java we call it reflection. but basically, i have a variable in my bash script
buildvar=dev
now, my script is a menu driven system. so in the menu of my script i want to be able to type in something like
changevar buildvar=prod
and have my script update the variable with the new value. the changevar command is easy enough in my script, but how do i get it to realize that the buildvar is a variable name and to update that variable?
I assume you can parse the command. the rest is: