I am learning how to use bash and I ran into a bad substitution error with the following code
#!/bin/bash
if [ ${1,,} = herbert ]; then
echo "Oh, you're the boss here. Welcome!"
elif [ ${1,,} = help ]; then
echo "Just enter your username, duh!"
else
echo "I don't know who you are. But you're not the boss of me!"
fi
the line highlighted to be responsible for this is line 3: ${1,,}. How do I resolve this?