How to substitue string withing string in shell
mode="create"
echo $mode
what i am trying is
echo ${CONFIG_Resource_$mode_val}
which gives me "bad substitution"
but this works fine
echo ${CONFIG_Resource_create_val}
How to substitue string withing string in shell
mode="create"
echo $mode
what i am trying is
echo ${CONFIG_Resource_$mode_val}
which gives me "bad substitution"
but this works fine
echo ${CONFIG_Resource_create_val}