Left to Prove | tac Reverse the order of lines Status: Open Seeds: 3000 Category: Streams Invocation: tac Input domain: Read LF-terminated byte records from stdin within a stated memory bound. Proof obligation: Reverse record order and preserve the contents of every record including its trailing LF. Test cases: No records, blank records, repeated records, and embedded NULs. Outside this profile: Custom separators, named files, and unterminated input. Specification: https://www.gnu.org/software/coreutils/manual/html_node/tac-invocation.html Reference: https://www.gnu.org/software/coreutils/manual/html_node/tac-invocation.html Reference source: https://github.com/coreutils/coreutils/blob/v9.11/src/tac.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/tac.json Implementation replay command: sh targets/tac/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: tac Contribution: proof Contribution guidelines: https://lefttoprove.com/join.txt