Commit Graph

10 Commits

Author SHA1 Message Date
Michael Kerrisk 9e4922f014 armscii-8.7, cp1251.7, iso_8859-10.7, iso_8859-11.7, iso_8859-13.7, iso_8859-14.7, iso_8859-15.7, iso_8859-16.7, iso_8859-2.7, iso_8859-3.7, iso_8859-4.7, iso_8859-5.7, iso_8859-6.7, iso_8859-7.7, iso_8859-8.7, iso_8859-9.7, koi8-r.7, koi8-u.7: Add explicit character set encoding to first line of source
Nowadays mandb has provision to understand a character set
encoding that is explicitly indicated in the first line
of the source.  As pointed out by Colin Watson, including
such an explicit indication on pages encoded in anything
other than ISO 8859-1 or UTF-8 is useful for man-pages
that aren't shipped in UTF-8.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519209
and for some other background (responded to by Colin Watson
in the above report):
http://thread.gmane.org/gmane.comp.internationalization.linux/6040
("man page encoding", 5 Jul 2005)

Reported-by: Colin Watson <cjwatson@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-12 15:03:41 +13:00
Kir Kolyshkin baf17bc4f2 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>
2009-02-20 19:52:29 +13:00
Michael Kerrisk 64b9278c01 koi8-r.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 17:05:22 +13:00
Michael Kerrisk 9bf5122e23 koi8-r.7: SEE ALSO: add koi8-u(7); remove crufty text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 17:04:26 +13:00
Michael Kerrisk eb25159b7f Eliminate duplicate blank lines in rendered output. 2007-11-17 04:53:22 +00:00
Michael Kerrisk 19c98696a2 s/SH NOTE$/SH NOTES/ 2007-05-16 02:54:18 +00:00
Michael Kerrisk c13182efa3 Wrapped long lines, wrapped at sentence boundaries; stripped trailing
white space.
2007-04-12 22:42:49 +00:00
Michael Kerrisk cf0a9ace57 ffix 2007-04-05 12:36:57 +00:00
Michael Kerrisk 331da7c3a0 RFC references are now always writen as "RFC\ nnn" (not "RFC nnn" or
"RFCnnn").
2005-07-20 07:50:45 +00:00
Michael Kerrisk fea681dafb Import of man-pages 1.70 2004-11-03 13:51:07 +00:00