Missing: cmp. Only diff exists; scripts use cmp for fast byte-equality and first-difference reporting.
Behavior: GNU cmp file1 file2 → silent + exit 0 when equal, file1 file2 differ: byte N, line M + exit 1 otherwise; support -s/--silent, -l (list all differing bytes, octal), -n (limit), and - for stdin. VFS paths only.
From the safe-bash command gap analysis (2026-09-08). Sandbox constraints apply: bounded input/CPU/memory, VFS-only paths, cooperative cancellation, no host process/network beyond the existing curl authorizer.
Missing:
cmp. Onlydiffexists; scripts usecmpfor fast byte-equality and first-difference reporting.Behavior: GNU
cmp file1 file2→ silent + exit 0 when equal,file1 file2 differ: byte N, line M+ exit 1 otherwise; support-s/--silent,-l(list all differing bytes, octal),-n(limit), and-for stdin. VFS paths only.From the safe-bash command gap analysis (2026-09-08). Sandbox constraints apply: bounded input/CPU/memory, VFS-only paths, cooperative cancellation, no host process/network beyond the existing curl authorizer.