Skip to content

Instantly share code, notes, and snippets.

@kgriffs
Created August 9, 2021 21:24
Show Gist options
  • Save kgriffs/e5ac673143393aa5d75e39c65ddfac1a to your computer and use it in GitHub Desktop.
Save kgriffs/e5ac673143393aa5d75e39c65ddfac1a to your computer and use it in GitHub Desktop.
Bash - Lowercase an environment variable
echo $(tr '[:upper:]' '[:lower:]' <<<"$ENV")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment