From owner-freebsd-questions@FreeBSD.ORG Sun Jan 13 01:59:40 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4F622E97 for ; Sun, 13 Jan 2013 01:59:40 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 0CE1A1B2 for ; Sun, 13 Jan 2013 01:59:39 +0000 (UTC) Received: from [10.0.10.3] ([173.88.197.103]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 12 Jan 2013 17:59:41 -0800 Message-ID: <50F2150C.20209@a1poweruser.com> Date: Sat, 12 Jan 2013 20:59:40 -0500 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Polytropon Subject: Re: manpage -> html References: <50F1FECA.4090801@a1poweruser.com> <50F20536.3020009@a1poweruser.com> <20130113021454.e1128036.freebsd@edvax.de> In-Reply-To: <20130113021454.e1128036.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Jan 2013 01:59:41.0198 (UTC) FILETIME=[A674DAE0:01CDF131] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] Cc: FreeBSD questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jan 2013 01:59:40 -0000 Polytropon wrote: > On Sat, 12 Jan 2013 19:52:06 -0500, Fbsd8 wrote: >> OK let me be more specific. >> Using just commands that are in the base system. >> IE; come with the 9.1 system > > Very well: > > zcat `man -w ls` | groff -Thtml -dpaper=a4 -P-pa4 > ls.html > > zcat `man -w ls` | groff -Thtml > ls.html > > However, the output looks a bit strange here (tested with lynx > and Opera), so maybe some additional options are required. I've > just derived this from my man2pdf script and read "man groff" > for the -T parameter. > > zcat `man -w ls` | groff -T html > ls.html That kind of worked. It did create html code but it dropped all the indentations and blank lines. .Pp commands in the man page source.