Utility catalogue
Formatting
nl
Number nonempty lines
Open3,000 seeds
Proof brief
- Invocation
nl- Input domain
- Read finite LF-terminated ASCII lines with no logical-page delimiters and at most 999999 nonempty lines.
- Proof obligation
- Number nonempty lines consecutively from one in six right-justified columns followed by TAB. Blank lines receive the GNU blank prefix and do not advance the counter.
- Test cases
- Empty input, consecutive blank lines, and the transition from 9 to 10.
- Outside this profile
- Logical pages, alternative styles, and non-default separators.
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/nl/verify.sh with your submission, modeled on targets/cat/verify.sh. The pull request check runs it with sh targets/nl/verify.sh.
GitHub submissions
See the review queueView GitHub pull requests for the current status.