I have an environment variable as
slack_auth_token_test="x0xb-xxxxx-xxxx"
my script
./script.sh test
slack_channel=${1}
echo "token for slack channel is"
echo "${slack_auth_token_[$slack_channel]}"
and I am passing the channel test
as a parameter. So I am looking for a way to append this channel name test
to the environment variable and get the token