aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorKir Kolyshkin <kir@openvz.org>2009-02-12 13:59:52 +0300
committerMichael Kerrisk <mtk.manpages@gmail.com>2009-02-20 19:52:29 +1300
commitbaf17bc4f2a3f3b02d2f3b0911f98331fd874367 (patch)
treec3baf82d9046712272dc1927b530169788cd3d88 /man3
parentd34ba634d13a8507bbfe54dbcff6ddc1295a395f (diff)
downloadman-pages-baf17bc4f2a3f3b02d2f3b0911f98331fd874367.tar.gz
Trivial punctuation fixes in SEE ALSO
In SEE ALSO, when a few man pages are referenced, those are divided by commas. Every reference is on a separate line, and all lines but the last one should end with comma. I spotted one place where there is no comma in between references, and mocked up an awk script to find similar places: for f in man*/*; do awk '/^.SH ["]SEE ALSO["]/ {sa=1; print "== " FILENAME " =="; print; next } /^\.(PP|SH)/ {sa=0; no=0; next} /^\.BR/ { if (sa==1) { print; if (no == 1) print "Missing comma in " FILENAME " +" FNR-1; no=0 } } /^\.BR .*)$/ { if (sa==1) no=1; next } /\.\\"/ {next} /.*/ { if (sa==1) { print; next }}' $f; done | fgrep 'Missing comma' This patch fixes all the places found by the above script. Also, there is an extra dot at the end of uri.7 "SEE ALSO" section. Removed as per man-pages(7) recommendation. Signed-off-by: Kir Kolyshkin <kir@openvz.org> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
-rw-r--r--man3/raise.32
-rw-r--r--man3/sin.32
2 files changed, 2 insertions, 2 deletions
diff --git a/man3/raise.3 b/man3/raise.3
index 392f305021..8814abf4ab 100644
--- a/man3/raise.3
+++ b/man3/raise.3
@@ -66,5 +66,5 @@ C89, C99, POSIX.1-2001.
.BR kill (2),
.BR sigaction (2),
.BR signal (2),
-.BR pthread_kill (3)
+.BR pthread_kill (3),
.BR signal (7)
diff --git a/man3/sin.3 b/man3/sin.3
index 109fd16339..9f0d1e956d 100644
--- a/man3/sin.3
+++ b/man3/sin.3
@@ -110,5 +110,5 @@ SVr4, 4.3BSD, C89.
.BR atan2 (3),
.BR cos (3),
.BR csin (3),
-.BR sincos (3)
+.BR sincos (3),
.BR tan (3)