What characters are allowed in Linux environment variable names? My cursory search of man pages and the web did only produce information about how to work with variables, but not which names are allowed.
I have a Java program that requires an defined environment variable containing a dot, like com.example.fancyproperty. With Windows I can set that variable, but I had no luck setting it in linux (tried in SuSE and Ubuntu). Is that variable name even allowed?
From The Open Group:
So names may contain any character except = and NUL, but:
So while the names may be valid, your shell might not support anything besides letters, numbers, and underscores.