]> git.ipfire.org Git - thirdparty/man-pages.git/commit
man2/*: srcfix: fix warnings from "mandoc -Tlint"
authorBjarni Ingi Gislason <bjarniig@rhi.hi.is>
Sat, 20 Jun 2020 19:29:31 +0000 (19:29 +0000)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 21 Jun 2020 07:08:00 +0000 (09:08 +0200)
commitfec6cf90e96be4e5d41bed673adad89369637111
treeae3f374aaea95f30002f5bcb7f02b55a1a17fafa
parentc3f602233df08e63dbc433b06f823233a76ea6e5
man2/*: srcfix: fix warnings from "mandoc -Tlint"

  Remove superfluous paragraph macros.

  Remove ".br" if it is before a line that starts with a space
character, as such lines automatically cause a break.

###

  The output is unchanged, except two empty lines are added at the
bottom (before the footer line) in the output of "nroff" for the files
"alloc_hugepages.2" and "userfaultfd.2".

###

  Examples of warnings from "mandoc -Tlint":

mandoc: access.2:283:2: WARNING: skipping paragraph macro: PP after SH

mandoc: adjtimex.2:185:2: WARNING: skipping paragraph macro: PP empty

mandoc: futex.2:728:2: WARNING: skipping paragraph macro: IP empty

mandoc: getsid.2:48:2: WARNING: skipping paragraph macro: br before text line with leading blank

mandoc: init_module.2:290:2: WARNING: skipping paragraph macro: PP after SS

mandoc: ioctl_fideduperange.2:27:2: WARNING: skipping paragraph macro: br after SH

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
55 files changed:
man2/access.2
man2/adjtimex.2
man2/alloc_hugepages.2
man2/chown.2
man2/clone.2
man2/eventfd.2
man2/fork.2
man2/futex.2
man2/getgroups.2
man2/getrusage.2
man2/getsid.2
man2/init_module.2
man2/io_cancel.2
man2/io_destroy.2
man2/io_getevents.2
man2/io_setup.2
man2/io_submit.2
man2/ioctl_ficlonerange.2
man2/ioctl_fideduperange.2
man2/ioctl_fslabel.2
man2/ioctl_getfsmap.2
man2/memfd_create.2
man2/mlock.2
man2/mmap.2
man2/mprotect.2
man2/mremap.2
man2/open.2
man2/pciconfig_read.2
man2/perf_event_open.2
man2/pidfd_open.2
man2/pivot_root.2
man2/prctl.2
man2/ptrace.2
man2/quotactl.2
man2/readv.2
man2/recvmmsg.2
man2/s390_guarded_storage.2
man2/select.2
man2/select_tut.2
man2/semget.2
man2/set_mempolicy.2
man2/setns.2
man2/setpgid.2
man2/shmop.2
man2/sigpending.2
man2/sigprocmask.2
man2/sigsuspend.2
man2/stat.2
man2/statx.2
man2/syscalls.2
man2/sysctl.2
man2/truncate.2
man2/uname.2
man2/userfaultfd.2
man2/vfork.2