Introducing UNIX and Linux |
Advanced shell programmingOverview |
Answer to chapter 9 question 7This is simple use of printf "Type in a variable name: " read VARIABLE # Construct the name of the variable # and echo its value eval echo \$$VARIABLE |
Copyright © 2002 Mike Joy, Stephen Jarvis and Michael Luck