Skip to content

Instantly share code, notes, and snippets.

@caarlos0
Created August 20, 2013 20:14
Show Gist options
  • Save caarlos0/6286667 to your computer and use it in GitHub Desktop.
Save caarlos0/6286667 to your computer and use it in GitHub Desktop.
export all lowercase proxy environment variables to uppercase
#!/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