ack/util/led
George Koehler f91bc2804d Tune the installed manual pages.
This commit slightly improves the formatting of the manuals.  My
OpenBSD machine uses mandoc(1) to format manuals.  I check the manuals
with `mandoc -T lint` and fix most of the warnings.  I also make
other changes where mandoc didn't warn me.

roff(7) says, "Each sentence should terminate at the end of an input
line," but we often forgot this rule.  I insert some newlines after
sentences that had ended mid-line.

roff(7) also says that blank lines "are only permitted within literal
contexts."  I delete blank lines.  This removes some extra blank lines
from mandoc's output.  If I do want a blank line in the output, I call
".sp 1" to make it in man(7).  If I want a blank line in the source,
but not the output, I put a plain dot "." so roff ignores it.

Hyphens used for command-line options, like \-a, should be escaped by
a backslash.  I insert a few missing backslashes.

mandoc warns if the date in .TH doesn't look like a date.  Our manuals
had a missing date or the RCS keyword "$Revision$".  Git doesn't
expand RCS keywords.  I put in today's date, 2017-01-18.

Some manuals used tab characters in filled mode.  That doesn't work.
I use .nf to turn off filled mode, or I use .IP in man(7) to make the
indentation without a tab character.

ack(1) defined a macro .SB but never used it, so I delete the
definition.  I also remove a call to the missing macro .RF.

mandoc warns about empty paragraphs.  I deleted them.  mandoc also
warned about these macro pairs in anm(1):

    .SM
    .B text

The .SM did nothing because the .B text is on a different line.  I
changed each pair to .SB for small bold text.

I make a few other small changes.
2017-01-18 23:02:30 -05:00
..
ack.out.5 Tune the installed manual pages. 2017-01-18 23:02:30 -05:00
archive.c Clean up the led includes. 2017-01-18 19:55:56 +01:00
assert.h Header --> Id 1994-06-24 11:31:16 +00:00
build.lua LED builds now. 2016-08-14 14:40:01 +02:00
const.h Signed vs unsigned lower halves of powerpc fixups are now handled by having two 2017-01-15 11:51:37 +01:00
debug.h Signed vs unsigned lower halves of powerpc fixups are now handled by having two 2017-01-15 11:51:37 +01:00
defs.h Header --> Id 1994-06-24 11:31:16 +00:00
error.c Clean up the led includes. 2017-01-18 19:55:56 +01:00
extract.c Clean up the led includes. 2017-01-18 19:55:56 +01:00
finish.c Clean up the led includes. 2017-01-18 19:55:56 +01:00
led.6 Tune the installed manual pages. 2017-01-18 23:02:30 -05:00
led.layout Initial revision 1987-04-16 16:04:55 +00:00
mach.h LED builds now. 2016-08-14 14:40:01 +02:00
main.c Clean up the led includes. 2017-01-18 19:55:56 +01:00
memory.c Clean up the led includes. 2017-01-18 19:55:56 +01:00
memory.h Header --> Id 1994-06-24 11:31:16 +00:00
memory_layout Do not use '#endif/#else xxx'; it is not allowed for ANSI C 1991-12-17 15:28:58 +00:00
orig.h Header --> Id 1994-06-24 11:31:16 +00:00
output.c Clean up the led includes. 2017-01-18 19:55:56 +01:00
proto.make Header --> Id 1994-06-24 11:31:16 +00:00
read.c Clean up the led includes. 2017-01-18 19:55:56 +01:00
relocate.c Turns out Apple's hi16/ha16 exactly match my ha16/has16, so renamed 2017-01-15 11:59:33 +01:00
save.c Clean up the led includes. 2017-01-18 19:55:56 +01:00
scan.c Clean up the led includes. 2017-01-18 19:55:56 +01:00
scan.h Header --> Id 1994-06-24 11:31:16 +00:00
sym.c Clean up the led includes. 2017-01-18 19:55:56 +01:00
write.c Clean up the led includes. 2017-01-18 19:55:56 +01:00
WRONG Adapted to current situation 1987-01-29 13:20:23 +00:00