gobyexample/examples/environment-variables/environment-variables.hash
Scott Moser c06d8a62c5 Use SplitN rather than Split on os.Environ return value.
Environment variables can contain a '=' in their value
   KEY=BAR=1 sh -c 'echo KEY VALUE is "$KEY"'

If you just use Split() then you may not actually get a 'pair'
but rather a slice with length >= 3.
2019-10-10 21:39:19 -04:00

3 lines
53 B
Plaintext

b651bc17e4d2880cba0885c52f476ab2a86e39ae
MTbfmZYa4vP