-
|
Hello, i would like to double check the behavior of the following... In this case it does appear that ENV1 == null and ENV2 contains the actual value? Is this the expected behavior? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
I think this is expected. The config parameter is in documentation described as a 'mapping' or 'rename' of the attribute. So basically it indeed changes the name it's known by, it does not copy it into the new name. I understand this was not clear to you, maybe you could suggest additional wording for the documentation? |
Beta Was this translation helpful? Give feedback.
-
|
Yeah, it's a different behavior to what bash does, for example. So it'll get folks... How about "Unlike env variables in the bash shell, MellonSetEnvNoPrefix renames Variables. So, for example, MellonSetEnvNoPrefix "ENV1" FOO renames FOO to ENV1 and all references to FOO will be null forthwith. |
Beta Was this translation helpful? Give feedback.
-
|
noted, sort of like a last "env" standing wins |
Beta Was this translation helpful? Give feedback.
I think this is expected. The config parameter is in documentation described as a 'mapping' or 'rename' of the attribute. So basically it indeed changes the name it's known by, it does not copy it into the new name. I understand this was not clear to you, maybe you could suggest additional wording for the documentation?