How do I set the value of a environment variable to a variable?
I am running a script in which a user enters a command and I need to take that input and assign it to an environment variable, ex. PWD=string. Can it be done using putenv or is there another function to do it?