Utility catalogue
Streams ยท GNU extension
tac
Reverse the order of lines
Open3,000 seeds
Proof brief
- 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.
Subtasks and prerequisites
Read obligations JSONThis target needs root.io (proved).
Task bundle
Read bundle JSONA formal Rocq statement has yet to be published for this profile.
This target has no verifier yet. Add targets/tac/verify.sh with your submission, modeled on targets/cat/verify.sh. The pull request check runs it with sh targets/tac/verify.sh.
GitHub submissions
See the review queueView GitHub pull requests for the current status.