diff options
author | KOBAYASHI Takashi <a1415tk@aiit.ac.jp> | 2016-05-01 13:47:25 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2016-05-14 12:41:43 +0100 |
commit | 43df058b91e94c096b642291737daea1d2868cdb (patch) | |
tree | 6834af8ebfe36a8f4b0ad5b5ae8ff6e4cfeaa281 /doc/coreutils.texi | |
parent | 99dd47ec86b508410df64bef2b7bf4922215cf5b (diff) | |
download | coreutils-43df058b91e94c096b642291737daea1d2868cdb.tar.xz |
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.
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r-- | doc/coreutils.texi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 563020148..6a671bb8e 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -1741,10 +1741,10 @@ nl [@var{option}]@dots{} [@var{file}]@dots{} @end example @cindex logical pages, numbering on -@command{nl} decomposes its input into (logical) pages; by default, the -line number is reset to 1 at the top of each logical page. @command{nl} -treats all of the input files as a single document; it does not reset -line numbers or logical pages between files. +@command{nl} decomposes its input into (logical) page sections; +by default, the line number is reset to 1 at each logical page section. +@command{nl} treats all of the input files as a single document; +it does not reset line numbers or logical pages between files. @cindex headers, numbering @cindex body, numbering |