I'm on windows running bash and I can't figure out why this is happening.
I have a variable such as
export SOCKET=/socket then when I run echo '$SOCKET' | envsubst I get C:/Program Files/Git/socket. For some reason it is replacing the slash.
Any idea why this is happening? If i look at the output of printenv the only environment variable with Git in the path is EXEPATH=C:\Program Files\Git