pi@4b:~ $ kebab-case-ftw () { echo yum; } pi@4b:~ $ kebab-case-ftw yum pi@4b:~ $ alias kebab-kebob='echo yum' pi@4b:~ $ kebab-kebob yum
$ foo-bar=3 foo-bar=3: command not found
Make is better in this regard. You can have variables with . in them and with computed variables, that can simulate structures. $($(VAR).member). $(VAR) expands to some abc, and so the $(abc.member) evaluates that variable with a dot in its name.
Make is better in this regard. You can have variables with . in them and with computed variables, that can simulate structures. $($(VAR).member). $(VAR) expands to some abc, and so the $(abc.member) evaluates that variable with a dot in its name.