MySettings:SomeSetting = MyNewValue
你是如何在Linux中做到这一点的? export命令拒绝冒号?例如:
export MySettings:SomeSetting = MyNewValue
错误
bash: export: `MySettings:SomeSetting=MyNewValue': not a valid identifier
If : cannot be used in environment variables in your system,replace : with __ (double underscore).
:
__
即:
export MySettings__SomeSetting=MyNewValue