I was reviewing some of my old code and came across this syntax:
extractDir=\"${downloadFileName%.*}-tmp\"
The only information I found sea
It is used when expanding an environment variable adjacent to some text that is not the variable, so the shell does not include all of it in the variable name.