Created
August 20, 2013 20:14
-
-
Save caarlos0/6286667 to your computer and use it in GitHub Desktop.
export all lowercase proxy environment variables to uppercase
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# export all lowercase proxy environment variables to uppercase. | |
# | |
for i in $(env | grep proxy | tr '[:lower:]' '[:upper:]'); do | |
export $i | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment