Variable name containing dash not working in Bash

This is default behavior and '-' is not allowed in shell variable names.

The variable name consisting solely of letters, numbers, and underscores, and beginning with a letter or underscore.

So the variable name should be rewriten as per the above criteria.

That's all…