editAppsDotPy() { echo 'from django.apps import AppConfig' >> apps.py echo >> apps.py echo >> apps.py echo "class ${APP_NAME}Config(AppConfig):" >> apps.py echo " name = '${APP_NAME}'" >> apps.py } How would you capitalize the variable in the 5th line? I was trying to do it with ${APP_NAME^} but it returns me an error.
manage.sh: line 29: ${APP_NAME^}: bad substitutionbashdo you have and what is the she-bang which is on the first line of your script?declare -c APP_NAME="foo"; echo "$APP_NAME"