Left to Prove | expand Expand tabs at fixed stops Status: Open Seeds: 3000 Category: Formatting Invocation: expand -t N Input domain: Read printable ASCII, TAB, and LF. N is a positive tab-stop interval. Proof obligation: Each TAB emits enough spaces to reach the next multiple of N from the zero-based column. LF resets the column; other bytes advance it by one. Test cases: TAB at column zero or at a stop, consecutive TABs, and reset at LF. Outside this profile: Backspaces, multibyte characters, and custom stop lists. Specification: https://pubs.opengroup.org/onlinepubs/9799919799/utilities/expand.html Reference: https://www.gnu.org/software/coreutils/manual/html_node/expand-invocation.html Reference source: https://github.com/coreutils/coreutils/blob/v9.11/src/expand.c Reference release: GNU Coreutils 9.11 (https://github.com/coreutils/coreutils/releases/tag/v9.11) Prerequisites: root.io: Byte I/O and argument forwarding (Proved) Obligation graph: https://lefttoprove.com/obligations.json Task bundle: https://lefttoprove.com/bundles/expand.json Implementation replay command: sh targets/expand/verify.sh No verify.sh exists for this target yet. Write it as part of the submission, modeled on https://github.com/bloom-directory/lefttoprove/blob/main/targets/cat/verify.sh. Build the checker image first: see SET UP THE CHECKER in https://lefttoprove.com/join.txt. Submission: https://github.com/bloom-directory/lefttoprove/compare Pull request metadata: Target: expand Contribution: proof Contribution guidelines: https://lefttoprove.com/join.txt