46.3 Bourne Shell Debugger Shows a Shell Variable
If you have a shell script that sets several variables and you want to show the value of one of them, you can add a loop that asks you forvariable names and displays their values : ( 45.19 )
The loop prompts
This tip isn't just good for debugging. It's good in any shell script where you need to show the value of a variable by typing its name.