I want to create env parameter
that the key is a:b or a@b
I need to do it from bash script or from terminal , it should work from linux or windows
when I tried it export a:b=c
I got an error
not a valid identifier
When I tried
export tempKey = a:b then It worked but then I didn't know how to use the value a:b to create it as key
Could you please advise ?
a:bas a variable name. Why do you think you need this facility? The default solution is to use underscore in place of punctuation:export a_b=cis perfectly kosher in most Bourne-shell deriviatives (though not in the original Bourne shell).