Shell & Process Patterns

Bash/Zsh patterns from production — process control, parameter expansion, error handling.

Pages

Page Focus

Process Substitution

SSH config bypass, diff between streams, command injection via -e

Parameter Expansion

Defaults, guards, substring extraction

Error Handling

GPG agent fixes, lock cleanup, defensive scripting

Heredocs & Redirects

Multi-line commits, stdin tricks, redirect patterns

Codex vs Pattern Journal

This captures when I used it. For syntax reference, see the Codex.