Skip to content

Instantly share code, notes, and snippets.

@abathur

abathur/0_output Secret

Last active October 7, 2023 19:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abathur/e4f7ad5ac92820882dfe35cff52357b5 to your computer and use it in GitHub Desktop.
Save abathur/e4f7ad5ac92820882dfe35cff52357b5 to your computer and use it in GitHub Desktop.
hmmm
$ ./json.sh
{
"just": "what the hell is going on here,",
"abathur": ["didn't", "we", "tell", "you", "to", "stop?"]
}
{
"name": "jes",
"sign": "aquarius"
}
shopt -s expand_aliases
alias json="cat <(echo '{') - << " }="} " '{'="} <(echo '}')"
json {
"just": "what the hell is going on here,",
"abathur": ["didn't", "we", "tell", "you", "to", "stop?"]
}
name=jes
sign=aquarius
json {
"name": "$name",
"sign": "$sign"
}
@abathur
Copy link
Author

abathur commented Oct 7, 2023

Screen Shot 2023-10-07 at 2 19 20 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment