Skip to content

Instantly share code, notes, and snippets.

@aiya000
Last active March 19, 2021 07:10
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 aiya000/3297ea450b5905978ab81e54fdf2b576 to your computer and use it in GitHub Desktop.
Save aiya000/3297ea450b5905978ab81e54fdf2b576 to your computer and use it in GitHub Desktop.
#!/bin/bash
negative_state=$(cat <<- END
{
"state": "failure",
"context": "poi",
"description": "hi"
}
END
)
echo "$negative_state"
# {
# "state": "failure",
# "context": "poi",
# "description": "hi"
# }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment