Awk exit code portability across implementations and shell notification handling
This question explores whether awk can signal matching events to a downstream shell process without polluting stdout, given implementation-dependent exit-code and error-variable behavior. Awk scripts often need to communicate pattern matches upstream, but the mechanism chosen affects both signal clarity and pipeline compatibility. POSIX defines exit codes as