From 7cdb1d14cab5ad4eceb9edfc484ea272cf8a062d Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Fri, 26 Jun 2009 15:57:37 +0000 Subject: 20090626-1657 --- appl/cmd/man2html.b | 6 ++++-- dis/man2html.dis | Bin 16391 -> 16401 bytes include/version.h | 2 +- man/10/atoi | 2 -- man/10/devattach | 1 - 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/appl/cmd/man2html.b b/appl/cmd/man2html.b index f32c4fbd..033504b4 100644 --- a/appl/cmd/man2html.b +++ b/appl/cmd/man2html.b @@ -318,11 +318,12 @@ Global: adt { }; header := ""; +initial := ""; trailer := ""; usage() { - sys->fprint(stderr, "Usage: man2html [-h header] [-t trailer] file [section]\n"); + sys->fprint(stderr, "Usage: man2html [-h header] [-i initialtext] [-t trailer] file [section]\n"); raise "fail:usage"; } @@ -753,6 +754,7 @@ g_SH(g: ref Global, argl: list of string) closeall(g, 1); # .SH is top-level list item if (g.example) g_EE(g); + g_fi(g); if (g.fill && ! g.sop) g.print("

"); g.print("

"); @@ -1359,6 +1361,6 @@ title(g: ref Global, t: string, search: int) g.print(header+"\n"); g.print(sprint("Inferno's %s\n", demark(t))); g.print("\n"); - g.print("\n"); + g.print(""+initial+"\n"); } diff --git a/dis/man2html.dis b/dis/man2html.dis index edd98ae2..88aa173e 100644 Binary files a/dis/man2html.dis and b/dis/man2html.dis differ diff --git a/include/version.h b/include/version.h index 139cd1f2..cfc16254 100644 --- a/include/version.h +++ b/include/version.h @@ -1 +1 @@ -#define VERSION "Fourth Edition (20090616)" +#define VERSION "Fourth Edition (20090624)" diff --git a/man/10/atoi b/man/10/atoi index 6281ac2e..676fc53b 100644 --- a/man/10/atoi +++ b/man/10/atoi @@ -2,7 +2,6 @@ .SH NAME atoi, atol, charstod, strtod, strtol, strtoul, strtoll \- convert text to numbers .SH SYNOPSIS -.nf .ta \w'\fLdouble 'u .B int atoi(char *nptr) @@ -24,7 +23,6 @@ ulong strtoul(char *nptr, char **rptr, int base) .PP .B vlong strtoll(char *nptr, char **rptr, int base) -.fi .SH DESCRIPTION .IR Atoi and diff --git a/man/10/devattach b/man/10/devattach index 718fe9b8..48d48c8d 100644 --- a/man/10/devattach +++ b/man/10/devattach @@ -2,7 +2,6 @@ .SH NAME devattach, devclone, devdir, devgen, devwalk, devdirread, devstat, devopen, devbread, devbwrite, devcreate, devremove, devwstat, devreset, devinit, devshutdown, openmode \- common device driver support .SH SYNOPSIS -.nf .ta \w'\fLBlock* 'u +10n .B typedef int -- cgit v1.2.3