BashSnippets
•
4 days
•
in Articles
• 1 min read
Most "the filter looks right but the script misbehaves" bugs come down to three silent failure modes.
First, a missing -r. jq outputs JSON by default, so a string arrives with its quotes attached — your variable holds "web-01", quotes included, and ...