]> git.ipfire.org Git - thirdparty/man-pages.git/commit - man2/mkdir.2
Various pages: Remove explicit blank lines, replacing them with .PP when appropriate
authorAlejandro Colomar <alx.manpages@gmail.com>
Tue, 22 Dec 2020 19:17:46 +0000 (20:17 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 23 Dec 2020 12:19:10 +0000 (13:19 +0100)
commiteaa18d3c440bccfd842df9640c440821b2f5bc42
tree4665bf90373dbdc0b99b805917848b72b91436a1
parent4fce5f5bc8e2ad5cc04b730b241c24c72e1ae9fe
Various pages: Remove explicit blank lines, replacing them with .PP when appropriate

Rationale:
$ man 7 man-pages 2>/dev/null | sed -n /Paragraphs/,/^$/p
       Paragraphs should be separated by suitable markers (usually
       either .PP or .IP).  Do not separate paragraphs using blank
       lines,  as  this  results  in poor rendering in some output
       formats (such as PostScript and PDF).

Fix:
$ sed -i -e '1,/^\.EX/s/^$/.PP/' -e '/^\.EE/,/^\.EX/s/^$/.PP/' man?/*

And then some manual adjustments.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
47 files changed:
man2/_exit.2
man2/accept.2
man2/access.2
man2/bpf.2
man2/chmod.2
man2/chown.2
man2/dup.2
man2/getgroups.2
man2/keyctl.2
man2/mkdir.2
man2/mknod.2
man2/mprotect.2
man2/pipe.2
man2/poll.2
man2/readlink.2
man2/reboot.2
man2/rename.2
man2/set_thread_area.2
man2/stat.2
man2/symlink.2
man2/unlink.2
man3/abs.3
man3/crypt.3
man3/encrypt.3
man3/err.3
man3/fpurge.3
man3/gethostbyname.3
man3/getmntent.3
man3/getspnam.3
man3/getutent.3
man3/inet_net_pton.3
man3/mempcpy.3
man3/mkfifo.3
man3/open_memstream.3
man3/openpty.3
man3/perror.3
man3/posix_memalign.3
man3/printf.3
man3/rpc.3
man3/scandir.3
man3/scanf.3
man3/strchr.3
man3/towupper.3
man3/unlocked_stdio.3
man7/cgroups.7
man7/symlink.7
man7/time_namespaces.7