Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
.if n
.if t
sequences (see jadetex.1)
okay jmc@
|
|
of involved loops. Makes it MUCH easier to have uniform treatment of
various constructs.
okay millert@
|
|
from Jared Yanovich.
(pending better parser after 3.6)
|
|
|
|
|
|
such as pkg_ad....
|
|
Avoid pulling unneeded code: for instance, if you have only formated
manpages in your system, Unformated will never be used; Check put aside
and only used in -p mode. -t mode won't pull Whatis. Find; File::Compare
and File::Copy and File::Temp likewise.
okay millert@
|
|
add apropos(1) and whatis(1) to SEE ALSO;
|
|
|
|
ggi has func, func2, func3 : description, give it a fighting chance.
|
|
|
|
|
|
Prompted by jmc@.
Stop at first isolated dash in line.
Handle more troff hyphenation.
okay millert@, jmc@
|
|
ok millert@
|
|
- whitespace at EOL
|
|
|
|
there is something other than a dir in the way. Closes PR 2935.
|
|
Fixes a portability warning from perl-5.8.0; espie@ OK
|
|
(Repair bus_space.9 parsing, not visible on formatted version)
|
|
- recognize unbreakable em dashes from pod2man,
- handle some user-defined font changes,
- kill obvious non-subjects.
ok millert@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- handle \s+n as well as \s-n,
- be smarter in finding name - subject delimitation in the presence of
multiple dashes, always prefer a dash with intervening spaces if one is
available,
- handle spaces in macros everywhere,
- recognize \(tm,
- recognize .SM as a font change,
- recognize .LP as another multiple subject separator,
- strip indexing facilities .iX and .XX,
- complain about unknown macros in picky mode, strip them anyways.
|
|
- recognizes \s<number> sequences (horizontal kerning) and removes them.
- escaped |
- parses .ds definitions, expands \*(ab and \*[abc...]
(missing built-ins, such as en and em).
- strips .HP, .VB
- recognizes .Pp
- handles some . ds (space in between).
This fixes over 99% of all manpages generated from the ports tree.
This is still missing a few cleanups and some regression testing.
|
|
|
|
- name tmp file after makewhatis, make it easier to track in case of
trouble.
- remove tmp file always, two minutes to regenerate top
|
|
further. Noticed by Jon Ribbens <jon@oaktree.co.uk>
|
|
- don't use IO::File, autovivify handles instead,
- use open 3 args mode for security,
- pipe return code is now useful, so use it.
Don't install the whatis.db file directly, instead put it in a tmp location,
and copy it only if it changed: this avoids spurious errors on ro /usr.
|
|
In pricky mode, verify the subject line: for each name,
check that there indeed is a man page with the right name around.
|
|
Add -p (prick) and -t (test) option.
reword error handling as follows:
makewhatis tries harder to find section and/or subject lines in man pages,
even when the formatting is slightly incorrect.
-p mode diagnoses problems.
-t can be used to quickly test a new man page.
Approved by millert@. aaron@ would like `The options are as follows...'
style, but:
- I don't think this would be as clear,
- he hasn't come up with actual replacement text yet...
At least this is accurate documentation.
|
|
|
|
and recognize `NAME' in japanese manpages.
|
|
Noticed by Hal Snyder.
|
|
|
|
at doing this.
|
|
- remove all boldface c^Hc -> c,
- handle `multiple subjets' manpages correctly (e.g. perl),
- warns about stuff that ought to be manpages, but isn't proper
(ffs_softupdates and safe_finger are missing subject lines, BTW).
So, all the perl documentation is finally grokked correctly.
Todd's baby is missing quite a few manpages links...
|
|
|
|
simpler to understand (no more sed), and no temporary files.
Some useful comment by Matt Patton.
Ok'ed millert@
|
|
|
|
Allow multiple paths to be specified on the command line. millert@ ok
|
|
Out of the approximately 1450 man pages, only about 90 of them were wrong.
Thanks to kwesterback@home.com for coming up with a script and patch to repair
this. The patch also inserted a .Os macro in the few man pages that were
missing one.
|
|
|
|
|