Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 1995 17:45:08 -0500 (CDT)
From:      Peter da Silva <peter@bonkers.taronga.com>
To:        rgrimes@gndrsh.aac.dev.com (Rodney W. Grimes)
Cc:        jfieber@cs.smith.edu, jkh@violet.berkeley.edu, core@freebsd.org, doc@freebsd.org
Subject:   Re: this could sort of be of interest to us, too..
Message-ID:  <199504182245.RAA26699@bonkers.taronga.com>
In-Reply-To: <199504181930.MAA13592@gndrsh.aac.dev.com> from "Rodney W. Grimes" at Apr 18, 95 12:30:08 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> The really sad thing is that I am not versed in html, I know troff,
> can that be easily converted to html if I where to write a page or
> two in troff?

g/^.P/s/.*/<p>
g/^.SH/.+1s/.*/<H1>&<\/H1>/
g/^.SH/d
g/^.NH *1/.+1s/.*/<H2>&<\/H2>/
g/^.NH *2/.+1s/.*/<H3>&<\/H3>/
g/^.NH *3/.+1s/.*/<H4>&<\/H4>/
g/^.NH *4/.+1s/.*/<H5>&<\/H5>/
g/^.NH/d
1,$s/\\fI\([^\\]\)\\fR/<i>\1<\/i>/
1,$s/\\fB\([^\\]\)\\fR/<b>\1<\/b>/
...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504182245.RAA26699>