Skip to content

Instantly share code, notes, and snippets.

@asavt92
Created May 18, 2020 20:21
Show Gist options
  • Save asavt92/fd0a03fa0d0c07ba8f49674b5df7bec9 to your computer and use it in GitHub Desktop.
Save asavt92/fd0a03fa0d0c07ba8f49674b5df7bec9 to your computer and use it in GitHub Desktop.
sed
convert file with lines ```eks_commission_enable: true``` into env var lines ```METRICS_ENABLE=true```
sed -e 's/\(.*\): /\U\1=/' local-dev.env1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment