未定义行为而已。
Environment variable names used by the utilities in the Shell and Utilities volume of POSIX.1-2017 consist solely of uppercase letters, digits, and the <underscore> ( '_' ) from the characters defined in Portable Character Set and do not begin with a digit. Other characters may be permitted by an implementation; applications shall tolerate the presence of such names.
【 在 snnn 的大作中提到: 】
: 所以,我要说的是:可以的!!!!你说的只是 bash 的限制。不是操作系统的。
--
FROM 114.247.175.*