Bashは「-」(ハイフン)を含んだ環境変数が使えない
#Bash
name A word consisting only of alphanumeric characters and underscores, and beginning with an alphabetic character or an underscore. Also referred to as an identifier.
Can shell variable name include a hyphen or dash (-)? - Unix & Linux Stack Exchange