From owner-freebsd-doc Wed Apr 26 8:20: 6 2000 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3B31037BEA1 for ; Wed, 26 Apr 2000 08:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA42144; Wed, 26 Apr 2000 08:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from smtp10.atl.mindspring.net (smtp10.atl.mindspring.net [207.69.200.246]) by hub.freebsd.org (Postfix) with ESMTP id 8018F37BDC8 for ; Wed, 26 Apr 2000 08:18:45 -0700 (PDT) (envelope-from tomdean@ix.netcom.com) Received: from ix.netcom.com (sil-wa15-33.ix.netcom.com [207.93.148.33]) by smtp10.atl.mindspring.net (8.9.3/8.8.5) with ESMTP id LAA09224 for ; Wed, 26 Apr 2000 11:18:42 -0400 (EDT) Received: (from tomdean@localhost) by ix.netcom.com (8.9.3/8.9.3) id IAA10736; Wed, 26 Apr 2000 08:18:33 -0700 (PDT) (envelope-from tomdean) Message-Id: <200004261518.IAA10736@ix.netcom.com> Date: Wed, 26 Apr 2000 08:18:33 -0700 (PDT) From: "Thomas D. Dean" Reply-To: tomdean@ix.netcom.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: docs/18233: man and nroff -mdoc produce extra blank lines. Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 18233 >Category: docs >Synopsis: man and nroff -mdoc produce extra blank lines. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 26 08:20:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Thomas D. Dean >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: >Description: 'man make' has extra (doubled) blank lines in it. Several other man pages have extra blank lines in them. The template man page with only .Sh and .Pp plus pain text [A-Za-z]* in it will contain extra blank lines. 'nroff -man' and 'nroff -mdoc' both exhibit the problem. >How-To-Repeat: The following script will produce a nroff source file that will duplicate the problem. 'xx.sh > xx.1' followed by 'nroff -mdoc xx.1' The output will have an extra blank line at line number 66. Pipe the output of nroff into 'grep -n ".*"' to see line numbers. If the number of sections is increased from 10 to 30, lines 66, 132, 198, etc will be extra blank lines. If xx.1 is placed in the MANPATH, 'man xx' will produce the problem. #! /bin/sh # generate a man page which will have an extra blank line cat <Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message