]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
Trivial punctuation fixes in SEE ALSO
authorKir Kolyshkin <kir@openvz.org>
Thu, 12 Feb 2009 10:59:52 +0000 (13:59 +0300)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 20 Feb 2009 06:52:29 +0000 (19:52 +1300)
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>
man2/fork.2
man3/raise.3
man3/sin.3
man7/koi8-r.7
man7/rtld-audit.7
man7/uri.7

index 3f62352a29e1e9cbd431e6b7f32126df658a0486..ce93b3ec19c13ed85c5a79f02577d25f6e1608f0 100644 (file)
@@ -219,6 +219,6 @@ and
 .BR unshare (2),
 .BR vfork (2),
 .BR wait (2),
-.BR daemon (3)
+.BR daemon (3),
 .BR capabilities (7),
 .BR credentials (7)
index 392f3050210b03ef04b4f4ebb6c27fa40b771ad4..8814abf4abb4bf86709a612d0b4d6dd0d9257481 100644 (file)
@@ -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)
index 109fd163396e72a33670779b9c8f2a72c31cb8b0..9f0d1e956d1ea413791200060dcb9556e6239880 100644 (file)
@@ -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)
index 5462e47e2aada783013ef0c5c438101d0de1d176..70ac4d7e0a3d6d0ae23f4d22a59ae17b668eb632 100644 (file)
@@ -188,7 +188,7 @@ _
 .TE
 .SH "SEE ALSO"
 .BR ascii (7),
-.BR iso-8859-7 (7)
-.BR koi8-u (7)
+.BR iso-8859-7 (7),
+.BR koi8-u (7),
 RFC\ 1489,
 http://koi8.pp.ru/
index f087d7a862758f689d7b6004e3f47e4d16d17ec5..0eb1d8f637f7770567cb44b5d2c2276ab3fa7ca3 100644 (file)
@@ -594,5 +594,5 @@ la_i86_gnu_pltenter(Elf32_Sym *sym, unsigned int ndx,
 .SH "SEE ALSO"
 .BR ldd (1),
 .BR dlopen (3),
-.BR ld.so (8)
+.BR ld.so (8),
 .BR ldconfig (8)
index b2951cd23574f617643051e5e1e80876d04a0ba3..b139375b89d25586fc46034bc41ad46c813385c3 100644 (file)
@@ -702,5 +702,5 @@ tools) and invokes the right tool for any URI.
 .BR mailaddr (7),
 .BR utf-8 (7),
 .UR http://www.ietf.org/rfc/rfc2255.txt
-IETF RFC\ 2255.
+IETF RFC\ 2255
 .UE