diff: fix -q exit code
last_char_is: sacrifice 9 bytes but avoid double-scan
2 files changed