3
#!/bin/bash SUNDAY_MENU=BREAD MONDAY_MENU=APPLES TODAY=MONDAY ECHO "I want ${${TODAY}_MENU}" # does not work, bad substitution ECHO "I want ${`echo $TODAY`_MENU}" # does not work, bad substitution
任何想法?bash,用另一個變量替換變量的一部分
謝謝您的建議! – user1623159