ack/lang/m2/comp
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
..
BigPars fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
build.lua No longer truncate module names at 10 characters when constructing paths; 2017-01-07 23:00:52 +01:00
casestat.C Add enough return types to the K&R C that the ACK builds (on Linux) using clang 2016-11-10 22:04:18 +01:00
char.tab fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
chk_expr.c Add enough return types to the K&R C that the ACK builds (on Linux) using clang 2016-11-10 22:04:18 +01:00
chk_expr.h fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
class.h fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
code.c Add enough return types to the K&R C that the ACK builds (on Linux) using clang 2016-11-10 22:04:18 +01:00
cstoper.c Add enough return types to the K&R C that the ACK builds (on Linux) using clang 2016-11-10 22:04:18 +01:00
debug.h Modula-2 now works. 2013-05-14 22:24:38 +01:00
declar.g Modula-2 now works. 2013-05-14 22:24:38 +01:00
def.c Modula-2 now works. 2013-05-14 22:24:38 +01:00
def.H fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
defmodule.c No longer truncate module names at 10 characters when constructing paths; 2017-01-07 23:00:52 +01:00
desig.c Add enough return types to the K&R C that the ACK builds (on Linux) using clang 2016-11-10 22:04:18 +01:00
desig.h fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
em_m2.6 Tune the installed manual pages. 2017-01-18 23:02:30 -05:00
enter.c Add enough return types to the K&R C that the ACK builds (on Linux) using clang 2016-11-10 22:04:18 +01:00
error.c Add enough return types to the K&R C that the ACK builds (on Linux) using clang 2016-11-10 22:04:18 +01:00
expression.g Modula-2 now works. 2013-05-14 22:24:38 +01:00
f_info.h fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
idf.c Modula-2 now works. 2013-05-14 22:24:38 +01:00
idf.h fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
input.c Modula-2 now works. 2013-05-14 22:24:38 +01:00
input.h Modula-2 now works. 2013-05-14 22:24:38 +01:00
LLlex.c Add enough return types to the K&R C that the ACK builds (on Linux) using clang 2016-11-10 22:04:18 +01:00
LLlex.h fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
LLmessage.c Modula-2 now works. 2013-05-14 22:24:38 +01:00
lookup.c Modula-2 now works. 2013-05-14 22:24:38 +01:00
main.c Modula-2 now works. 2013-05-14 22:24:38 +01:00
main.h fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
make.allocd Added the appropriate #! magic at the beginning of shell scripts. (Some modern shells don't like scripts to be without it.) 2006-07-18 16:45:57 +00:00
make.hfiles Now avoids piping shell scripts into a new instance of sh, instead 2006-07-26 12:29:47 +00:00
make.next fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
make.parameters The Modula-2 compiler now builds. 2016-08-13 00:02:21 +02:00
make.tokcase fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
make.tokfile fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
misc.c Modula-2 now works. 2013-05-14 22:24:38 +01:00
misc.h fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
modula-2.1 fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
node.c Add enough return types to the K&R C that the ACK builds (on Linux) using clang 2016-11-10 22:04:18 +01:00
node.H fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
options fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
options.c Modula-2 now works. 2013-05-14 22:24:38 +01:00
program.g Modula-2 now works. 2013-05-14 22:24:38 +01:00
proto.main fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
proto.make fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
real.H fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
scope.C Modula-2 now works. 2013-05-14 22:24:38 +01:00
scope.h fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
SmallPars fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
stab.c Add enough return types to the K&R C that the ACK builds (on Linux) using clang 2016-11-10 22:04:18 +01:00
standards.h fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
statement.g Modula-2 now works. 2013-05-14 22:24:38 +01:00
SYSTEM.h fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
tmpvar.C Modula-2 now works. 2013-05-14 22:24:38 +01:00
tokenname.c Modula-2 now works. 2013-05-14 22:24:38 +01:00
tokenname.h fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00
type.c Add enough return types to the K&R C that the ACK builds (on Linux) using clang 2016-11-10 22:04:18 +01:00
type.H Modula-2 now works. 2013-05-14 22:24:38 +01:00
typequiv.c Modula-2 now works. 2013-05-14 22:24:38 +01:00
walk.c Improve confusing error message when calling function procedures from a 2017-01-08 11:25:57 +01:00
walk.h Modula-2 now works. 2013-05-14 22:24:38 +01:00
warning.h fixup commit for tag 'llgen-1-0' 2006-02-04 00:57:05 +00:00