For long and boring reasons, I need to retrieve one environment variable based on the value of another. e.g.
export LOG_PROCESSOR=LOGCOURIER
export LOGCOURIER=/usr/bin/blah
echo ${$LOG_PROCESSOR}
-bash: ${$LOG_PROCESSOR}: bad substitution
How can I get the value /usr/bin/blah echo'd in Bash like this?