Enabled all groff warnings, with -ww, in manpages test. Fixed a bunch
authorDavid Levine <levinedl@acm.org>
Fri, 9 Mar 2012 03:29:28 +0000 (21:29 -0600)
committerDavid Levine <levinedl@acm.org>
Fri, 9 Mar 2012 03:29:28 +0000 (21:29 -0600)
of minor problems that it revealed.

12 files changed:
man/ap.man
man/comp.man
man/dist.man
man/forw.man
man/mh-format.man
man/mh-sequence.man
man/mhl.man
man/rcvdist.man
man/repl.man
man/scan.man
man/slocal.man
test/manpages/test-manpages

index 0363639..33628e2 100644 (file)
@@ -55,7 +55,7 @@ also recognizes the following additional escape:
 .RS 5
 .nf
 .ta \w'Escape  'u +\w'Returns  'u
 .RS 5
 .nf
 .ta \w'Escape  'u +\w'Returns  'u
-.I Escape      Returns Description
+.I "Escape     Returns Description"
 error  string  A diagnostic if the parse failed
 .RE
 .fi
 error  string  A diagnostic if the parse failed
 .RE
 .fi
index 0fddc26..c07b211 100644 (file)
@@ -138,7 +138,7 @@ escapes are either new or have an alternate meaning:
 .RS 5
 .nf
 .ta \w'Escape  'u +\w'Returns  'u
 .RS 5
 .nf
 .ta \w'Escape  'u +\w'Returns  'u
-.I Escape      Returns Description
+.I "Escape     Returns Description"
 fcc    string  Any folders specified with `\-fcc\ folder'
 from   string  Any addresses specified with `\-from\ address'
 to     string  Any addresses specified with `\-to\ address'
 fcc    string  Any folders specified with `\-fcc\ folder'
 from   string  Any addresses specified with `\-from\ address'
 to     string  Any addresses specified with `\-to\ address'
@@ -164,7 +164,7 @@ overridden by using the
 .B \-from
 .I address
 switch.  The default mailbox in the \*(lqFcc:\*(rq field is
 .B \-from
 .I address
 switch.  The default mailbox in the \*(lqFcc:\*(rq field is
-.IR \+outbox .
+.IR +outbox .
 This can be overridden by the
 .B \-fcc
 switch.
 This can be overridden by the
 .B \-fcc
 switch.
index cbb8bda..63292c0 100644 (file)
@@ -80,7 +80,7 @@ escapes are also supported:
 .RS 5
 .nf
 .ta \w'Escape  'u +\w'Returns  'u
 .RS 5
 .nf
 .ta \w'Escape  'u +\w'Returns  'u
-.I Escape      Returns Description
+.I "Escape     Returns Description"
 fcc    string  Any folders specified with `\-fcc\ folder'
 nmh\-from      string  Addresses specified with `\-from\ address'
 nmh\-to        string  Addresses specified with `\-to\ address'
 fcc    string  Any folders specified with `\-fcc\ folder'
 nmh\-from      string  Addresses specified with `\-from\ address'
 nmh\-to        string  Addresses specified with `\-to\ address'
index e6fa01a..0223207 100644 (file)
@@ -111,7 +111,7 @@ escapes are also supported:
 .RS 5
 .nf
 .ta \w'nmh\-subject    'u +\w'Returns  'u
 .RS 5
 .nf
 .ta \w'nmh\-subject    'u +\w'Returns  'u
-.I Escape      Returns Description
+.I "Escape     Returns Description"
 fcc    string  Any folders specified with `\-fcc\ folder'
 nmh\-from      string  Addresses specified with `\-from\ address'
 nmh\-to        string  Addresses specified with `\-to\ address'
 fcc    string  Any folders specified with `\-fcc\ folder'
 nmh\-from      string  Addresses specified with `\-from\ address'
 nmh\-to        string  Addresses specified with `\-to\ address'
@@ -137,7 +137,7 @@ by using the
 .B \-from
 .I address
 switch.  The default mailbox in the \*(lqFcc:\*(rq field is
 .B \-from
 .I address
 switch.  The default mailbox in the \*(lqFcc:\*(rq field is
-.IR \+outbox .
+.IR +outbox .
 This can be overridden by the
 .B \-fcc
 switch.
 This can be overridden by the
 .B \-fcc
 switch.
@@ -382,7 +382,7 @@ Specifying these switches enables and/or overloads the following escapes:
 .RS 5
 .nf
 .ta \w'Component  'u +\w'Escape  'u +\w'Returns  'u
 .RS 5
 .nf
 .ta \w'Component  'u +\w'Escape  'u +\w'Returns  'u
-.I Type        Escape  Returns Description
+.I "Type       Escape  Returns Description"
 component      digest  string  Argument to `\-digest'
 function       cur     integer Argument to `\-volume'
 function       msg     integer Argument to `\-issue'
 component      digest  string  Argument to `\-digest'
 function       cur     integer Argument to `\-volume'
 function       msg     integer Argument to `\-issue'
index 2d1c69e..0ecb791 100644 (file)
@@ -153,7 +153,7 @@ these include:
 .RS 5
 .nf
 .ta +\w'Argument 'u +\w'An optional component, 'u
 .RS 5
 .nf
 .ta +\w'Argument 'u +\w'An optional component, 'u
-.I Argument    Description     Example Syntax
+.I "Argument   Description     Example Syntax"
 literal        A literal number        %(\fIfunc\fR 1234)
        or string               %(\fIfunc\fR text string)
 comp   Any component           %(\fIfunc\fR\^{\fIin-reply-to\fR\^})
 literal        A literal number        %(\fIfunc\fR 1234)
        or string               %(\fIfunc\fR text string)
 comp   Any component           %(\fIfunc\fR\^{\fIin-reply-to\fR\^})
@@ -251,7 +251,7 @@ The function escapes may be roughly grouped into a few categories.
 .RS 5
 .nf
 .ta \w'Fformataddr 'u +\w'Aboolean 'u +\w'Rboolean 'u
 .RS 5
 .nf
 .ta \w'Fformataddr 'u +\w'Aboolean 'u +\w'Rboolean 'u
-.I Function    Argument   Result       Description
+.I "Function   Argument   Result       Description"
 msg            integer message number
 cur            integer message is current (0 or 1)
 unseen         integer message is unseen (0 or 1)
 msg            integer message number
 cur            integer message is current (0 or 1)
 unseen         integer message is unseen (0 or 1)
@@ -341,7 +341,7 @@ The following functions require a date component as an argument:
 .RS 5
 .nf
 .ta \w'Fformataddr 'u +\w'Aboolean 'u +\w'Rboolean 'u
 .RS 5
 .nf
 .ta \w'Fformataddr 'u +\w'Aboolean 'u +\w'Rboolean 'u
-.I Function    Argument        Return  Description
+.I "Function   Argument        Return  Description"
 sec    date    integer seconds of the minute
 min    date    integer minutes of the hour
 hour   date    integer hours of the day (0-23)
 sec    date    integer seconds of the minute
 min    date    integer minutes of the hour
 hour   date    integer hours of the day (0-23)
@@ -377,7 +377,7 @@ the first address present in the header component.
 .RS 5
 .nf
 .ta \w'Fformataddr 'u +\w'Aboolean 'u +\w'Rboolean 'u
 .RS 5
 .nf
 .ta \w'Fformataddr 'u +\w'Aboolean 'u +\w'Rboolean 'u
-.I Function    Argument        Return  Description
+.I "Function   Argument        Return  Description"
 proper addr    string  official 822 rendering
 friendly       addr    string  user-friendly rendering
 addr   addr    string  mbox@host or host!mbox rendering*
 proper addr    string  official 822 rendering
 friendly       addr    string  user-friendly rendering
 addr   addr    string  mbox@host or host!mbox rendering*
index 12fdb1c..68941eb 100644 (file)
@@ -27,7 +27,7 @@ or one of these \*(lqreserved\*(rq message names:
 .RS 5
 .nf
 .ta +\w'\fIName\fP      'u
 .RS 5
 .nf
 .ta +\w'\fIName\fP      'u
-.I Name        Description
+.I "Name       Description"
 first  the first message in the folder
 last   the last message in the folder
 cur    the most recently accessed message
 first  the first message in the folder
 last   the last message in the folder
 cur    the most recently accessed message
index a5dc12e..cc5254d 100644 (file)
@@ -207,7 +207,7 @@ bell, clearscreen, width, length).
 .RS 5
 .nf
 .ta \w'noclearscreen  'u +\w'integer/G  'u
 .RS 5
 .nf
 .ta \w'noclearscreen  'u +\w'integer/G  'u
-.I variable    type    semantics
+.I "variable   type    semantics"
 width  integer screen width or component width
 length integer screen length or component length
 offset integer positions to indent \*(lqcomponent: \*(rq
 width  integer screen width or component width
 length integer screen length or component length
 offset integer positions to indent \*(lqcomponent: \*(rq
index f24ea8e..b82ae53 100644 (file)
@@ -50,7 +50,7 @@ escape:
 .RS 5
 .nf
 .ta \w'Dtimenow  'u +\w'Returns  'u
 .RS 5
 .nf
 .ta \w'Dtimenow  'u +\w'Returns  'u
-.I Escape      Returns Description
+.I "Escape     Returns Description"
 addresses      string  the addresses to distribute to
 .fi
 .RE
 addresses      string  the addresses to distribute to
 .fi
 .RE
index 112cca9..4c04887 100644 (file)
@@ -394,7 +394,7 @@ escape:
 .RS 5
 .nf
 .ta \w'Escape  'u +\w'Returns  'u
 .RS 5
 .nf
 .ta \w'Escape  'u +\w'Returns  'u
-.I Escape      Returns Description
+.I "Escape     Returns Description"
 fcc    string  Any folders specified with `\-fcc\ folder'
 .fi
 .RE
 fcc    string  Any folders specified with `\-fcc\ folder'
 .fi
 .RE
index d9d5271..0d0b762 100644 (file)
@@ -37,7 +37,7 @@ and, if room allows, some of the body of the message.  For example:
 .nf
 .ta \w'15+- 'u +\w'07/\|05x 'u +\w'Dcrocker  'u
 15+    10/\|05 crocker nned\0\0<<Last week I asked some of
 .nf
 .ta \w'15+- 'u +\w'07/\|05x 'u +\w'Dcrocker  'u
 15+    10/\|05 crocker nned\0\0<<Last week I asked some of
-16\-   10/\|05 crocker message id format\0\0\<<I recommend
+16\-   10/\|05 crocker message id format\0\0<<I recommend
 18     10/\|06 brien   Re: Exit status from mkdir
 19     10/\|07*brien   \*(lqscan\*(rq listing format in nmh
 .fi
 18     10/\|06 brien   Re: Exit status from mkdir
 19     10/\|07*brien   \*(lqscan\*(rq listing format in nmh
 .fi
@@ -172,7 +172,7 @@ escapes:
 .RS 5
 .nf
 .ta \w'Dtimenow  'u +\w'Returns  'u
 .RS 5
 .nf
 .ta \w'Dtimenow  'u +\w'Returns  'u
-.I Escape      Returns Description
+.I "Escape     Returns Description"
 body   string  the (compressed) first part of the body
 dtimenow       date    the current date
 folder string  the name of the current folder
 body   string  the (compressed) first part of the body
 dtimenow       date    the current date
 folder string  the name of the current folder
index da1e576..d7a4502 100644 (file)
@@ -129,7 +129,6 @@ You should include the line
 .PP
 .ce
 \*(lq|\ %libdir%/slocal\ \-user\ username\*(rq
 .PP
 .ce
 \*(lq|\ %libdir%/slocal\ \-user\ username\*(rq
-.RE
 .PP
 in your \&.forward file in your home directory.  This will cause
 your MTA to invoke
 .PP
 in your \&.forward file in your home directory.  This will cause
 your MTA to invoke
@@ -153,7 +152,7 @@ The format of each line in the
 file is:
 .PP
 .RS 5
 file is:
 .PP
 .RS 5
-.B header      pattern action  result  string
+.B "header     pattern action  result  string"
 .RE
 .PP
 .BR header :
 .RE
 .PP
 .BR header :
index 4865985..ce7d443 100755 (executable)
@@ -32,7 +32,7 @@ rm -f "$expected" "$actual"
 touch "$expected" "$actual"
 
 for manpage in man?/*.?; do
 touch "$expected" "$actual"
 
 for manpage in man?/*.?; do
-  groff -Tutf8 -mandoc -wmac "$manpage" > /dev/null 2>>"$actual"
+  groff -Tutf8 -mandoc -ww "$manpage" > /dev/null 2>>"$actual"
 done
 
 check "$expected" "$actual"
 done
 
 check "$expected" "$actual"