Using jq for environement variable creation is nice, because you can have one blob with the value.
Not: export $BLAH=$(cat whatever.json | jq .key)
Do: export $BLAH=$(cat whatever.json | jq -r .key)
# you must add the -r
flag for raw mode.
Created
June 23, 2018 21:07
-
-
Save zmackie/7c6482cecd2a948f4b88d557192c2344 to your computer and use it in GitHub Desktop.
Various Gotchas i've been gotcha-ed by
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment