Files
evig/scripts/db
CatoandClaude Opus 5.5 d09c4d621d fix(sh): grep -q reads a here-string, not a pipe — no SIGPIPE false negatives under pipefail (#509)
* fix(sh): grep -q reads a here-string, not a pipe — no SIGPIPE false negatives under pipefail

Under pipefail, `producer | grep -q PAT` can report a miss for text that is there: grep -q exits on its first match, the producer dies of SIGPIPE, and pipefail returns 141.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(sh): grep -q reads a here-string, not a pipe — no SIGPIPE false negatives under pipefail

Under pipefail, `producer | grep -q PAT` can report a miss for text that is there: grep -q exits on its first match, the producer dies of SIGPIPE, and pipefail returns 141.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 04:47:57 -07:00
..