summaryrefslogtreecommitdiff
path: root/doc/coreutils.texi
diff options
context:
space:
mode:
authorKOBAYASHI Takashi <a1415tk@aiit.ac.jp>2016-05-01 13:47:25 +0100
committerPádraig Brady <P@draigBrady.com>2016-05-14 12:41:43 +0100
commit43df058b91e94c096b642291737daea1d2868cdb (patch)
tree6834af8ebfe36a8f4b0ad5b5ae8ff6e4cfeaa281 /doc/coreutils.texi
parent99dd47ec86b508410df64bef2b7bf4922215cf5b (diff)
downloadcoreutils-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.texi8
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