I am using set -o allexport; source .env; set +o allexport
to export all variables from a .env file. Unfortunately, one variable contains )
for which reason it results in a syntax error. Is there a solution to this with the above command? I know it would be possible setting it in parentheses, but the .env is somewhat autogenerated without parentheses.
Dotenv looks like this for example:
username=test
password=*fdas_dfar+)mbn