From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from www.sonnenberger.org (www.sonnenberger.org [92.79.50.50]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id o5DLFV7G006158 for ; Sun, 13 Jun 2010 17:15:32 -0400 (EDT) Received: from britannica.bec.de (www.sonnenberger.org [192.168.1.10]) by www.sonnenberger.org (Postfix) with ESMTP id ADD9E6676F for ; Sun, 13 Jun 2010 23:15:25 +0200 (CEST) Received: by britannica.bec.de (Postfix, from userid 1000) id 85EB31506B; Sun, 13 Jun 2010 23:13:20 +0200 (CEST) Date: Sun, 13 Jun 2010 23:13:20 +0200 From: Joerg Sonnenberger To: tech@mdocml.bsd.lv Subject: Re: Reducing uname footer string on FreeBSD Message-ID: <20100613211320.GA1492@britannica.bec.de> Mail-Followup-To: tech@mdocml.bsd.lv References: <20100609163447.GA39829@acme.spoerlein.net> X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20100609163447.GA39829@acme.spoerlein.net> User-Agent: Mutt/1.5.20 (2009-06-14) On Wed, Jun 09, 2010 at 06:34:47PM +0200, Ulrich Spörlein wrote: > the FreeBSD groff will only print the following information in the > footer: > > % man ls|tail -1 > FreeBSD 8.1 April 4, 2008 FreeBSD 8.1 > > While stock mandoc uses `uname -sr` output which is currently: > % uname -sr > FreeBSD 8.1-PRERELEASE > > The attached patch clamps the string after the dash, iff uname reports > we are running on FreeBSD. I don't think such special casing should be > applied in the general source tree, but wanted to put it up for > discussion anyway. Have you considered just using -DOSNAME="\"FreeBSD 8.1\""? Joerg -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv