]> git.ipfire.org Git - thirdparty/coreutils.git/commit
nl: reset numbering for each section
authorKOBAYASHI Takashi <a1415tk@aiit.ac.jp>
Sun, 1 May 2016 12:47:25 +0000 (13:47 +0100)
committerPádraig Brady <P@draigBrady.com>
Sat, 14 May 2016 11:41:43 +0000 (12:41 +0100)
commit43df058b91e94c096b642291737daea1d2868cdb
tree6834af8ebfe36a8f4b0ad5b5ae8ff6e4cfeaa281
parent99dd47ec86b508410df64bef2b7bf4922215cf5b
nl: reset numbering for each section

* NEWS: Mention the bug fix.
* src/nl.c (proc_body, proc_footer): Reset numbering here too.
* doc/coreutils.texi (nl invocation): Adjust for behavior change.
* tests/misc/nl.sh: Add a test case.
NEWS
doc/coreutils.texi
src/nl.c
tests/misc/nl.sh