util-linux/text-utils
Michael Kerrisk (man-pages) 67e63c1263 Manual pages: order NOTES / HISTORY / BUGS / EXAMPLE consistently
There is value in ensuring that manual page sections use consistently
named sections, as far as possible, and also that sections have a
consistent order within manual pages. This is one of a series of patches
to place manual page sections in a consistent order.

In this patch, we ensure that the NOTES, HISTORY, BUGS, and EXAMPLE
sections are always placed near the end of the page, just above
AUTHORS, COPYRIGHT, SEE ALSO, and AVAILABILITY.

One page is not fixed by this patch: term-utils/agetty.8. This page
is a mess of unusual section names, and probably requires an individual
edit.

Testing that no gross editing mistake (causing accidental loss or addition
of text) was performed as follows:

    $ cat $(grep '\.SH' -l $(find . -name '*.[1-9]') |sort) | sort > a
    [Apply patch]
    $ cat $(grep '\.SH' -l $(find . -name '*.[1-9]') |sort) | sort > b
    $ diff a b
    $ echo $?
    0

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2020-05-22 10:25:50 +02:00
..
Makemodule.am more: use libmagic to identify binary files 2020-05-12 10:22:09 +02:00
col.1 Manual pages: order NOTES / HISTORY / BUGS / EXAMPLE consistently 2020-05-22 10:25:50 +02:00
col.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
colcrt.1 Manual pages: order NOTES / HISTORY / BUGS / EXAMPLE consistently 2020-05-22 10:25:50 +02:00
colcrt.c colcrt: make seek to \n more robust 2019-09-02 11:53:10 +02:00
colrm.1 Manual pages: order AUTHORS / COPYRIGHT / SEE ALSO / AVAILABILITY consistently 2020-05-22 10:25:49 +02:00
colrm.c misc: replaces atexit(close_stdout) with new close_stdout_atexit() 2019-06-17 15:46:10 +02:00
column.1 Manual pages: order NOTES / HISTORY / BUGS / EXAMPLE consistently 2020-05-22 10:25:50 +02:00
column.c column: pass control struct to local_wcstok() 2019-08-21 15:00:16 +02:00
hexdump-conv.c hexdump: fix typo, dcl instead of dc1 2020-03-09 10:54:28 +01:00
hexdump-display.c [clang-tidy] fix wrong *cmp usage 2020-04-20 13:21:00 -07:00
hexdump-parse.c hexdump: fix potential null pointer dereference warnings 2018-12-10 21:48:00 +00:00
hexdump.1 Manual pages: order NOTES / HISTORY / BUGS / EXAMPLE consistently 2020-05-22 10:25:50 +02:00
hexdump.c docs: improve size arguments description in --help output 2020-02-05 11:01:36 +01:00
hexdump.h hexdump: add header file guards [lgtm scan] 2019-09-20 16:13:52 +02:00
line.1 docs: (man) remove double quotes (") in .SH lines 2020-05-19 12:15:34 +02:00
line.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
more.1 Manual pages: order AUTHORS / COPYRIGHT / SEE ALSO / AVAILABILITY consistently 2020-05-22 10:25:49 +02:00
more.c more: make page and arrow up/down to update view 2020-05-12 10:22:09 +02:00
pg.1 Manual pages: order AUTHORS / COPYRIGHT / SEE ALSO / AVAILABILITY consistently 2020-05-22 10:25:49 +02:00
pg.c [clang-tidy] do not use else after return 2020-04-20 13:20:59 -07:00
rev.1 rev: (man) add note about limitations 2020-03-09 11:03:30 +01:00
rev.c rev: report line on error 2020-03-04 13:20:56 +01:00
ul.1 Manual pages: order NOTES / HISTORY / BUGS / EXAMPLE consistently 2020-05-22 10:25:50 +02:00
ul.c [clang-tidy] do not use else after return 2020-04-20 13:20:59 -07:00