util-linux/term-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 build-sys: fix typo 2019-10-09 10:02:10 +02:00
agetty.8 Manual pages: Standardize on EXAMPLE as section title 2020-05-20 12:56:12 +02:00
agetty.c agetty: ignore ^C 2020-05-22 10:22:12 +02:00
mesg.1 Manual pages: order AUTHORS / COPYRIGHT / SEE ALSO / AVAILABILITY consistently 2020-05-22 10:25:49 +02:00
mesg.c mesg: avoid 'ttyname failed: Success' message 2019-05-27 13:07:12 +02:00
script-playutils.c script: fix minor warning 2020-02-15 15:24:01 +00:00
script-playutils.h scriptlive: free resource at the and 2019-10-08 13:11:54 +02:00
script.1 Manual pages: order NOTES / HISTORY / BUGS / EXAMPLE consistently 2020-05-22 10:25:50 +02:00
script.c Merge branch 'patch-1' of https://github.com/yurchor/util-linux 2020-01-23 15:52:44 +01:00
scriptlive.1 Manual pages: order AUTHORS / COPYRIGHT / SEE ALSO / AVAILABILITY consistently 2020-05-22 10:25:49 +02:00
scriptlive.c [clang-tidy] do not use else after return 2020-04-20 13:20:59 -07:00
scriptreplay.1 Manual pages: order AUTHORS / COPYRIGHT / SEE ALSO / AVAILABILITY consistently 2020-05-22 10:25:49 +02:00
scriptreplay.c Fix minor typo: aliast -> alias 2020-01-08 18:43:22 +02:00
setterm.1 Manual pages: order AUTHORS / COPYRIGHT / SEE ALSO / AVAILABILITY consistently 2020-05-22 10:25:49 +02:00
setterm.c [clang-tidy] do not use else after return 2020-04-20 13:20:59 -07:00
ttymsg.c misc: safer (and uniform) handling of return value 2016-03-07 15:11:06 +01:00
ttymsg.h term-utils: add header file guards [lgtm scan] 2019-09-20 16:12:34 +02:00
wall.1 Manual pages: order AUTHORS / COPYRIGHT / SEE ALSO / AVAILABILITY consistently 2020-05-22 10:25:49 +02:00
wall.c various: use threadsafe versions of time functions [lgtm scan] 2020-02-15 15:23:44 +00:00
write.1 Manual pages: order AUTHORS / COPYRIGHT / SEE ALSO / AVAILABILITY consistently 2020-05-22 10:25:49 +02:00
write.c [clang-tidy] fix wrong *cmp usage 2020-04-20 13:21:00 -07:00