From roam@orbitel.bg  Sun Mar 18 06:07:11 2001
Return-Path: <roam@orbitel.bg>
Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13])
	by hub.freebsd.org (Postfix) with SMTP id 010A237B718
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 18 Mar 2001 06:07:05 -0800 (PST)
	(envelope-from roam@orbitel.bg)
Received: (qmail 70051 invoked by uid 1000); 18 Mar 2001 14:05:42 -0000
Message-Id: <20010318140542.70050.qmail@ringworld.nanolink.com>
Date: 18 Mar 2001 14:05:42 -0000
From: Peter Pentchev <roam@orbitel.bg>
Reply-To: Peter Pentchev <roam@orbitel.bg>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: mdoc .Lb macro does not accept punctuation
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         25894
>Category:       gnu
>Synopsis:       mdoc .Lb macro does not accept punctuation
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    ru
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 18 06:10:01 PST 2001
>Closed-Date:    Tue May 8 03:54:00 PDT 2001
>Last-Modified:  Tue May 08 03:55:06 PDT 2001
>Originator:     Peter Pentchev
>Release:        FreeBSD 4.3-BETA i386
>Organization:
Orbitel JSCo.
>Environment:
System: FreeBSD ringworld.nanolink.com 4.3-BETA FreeBSD 4.3-BETA #34: Sat Mar 17 15:59:49 EET 2001 root@ringworld.nanolink.com i386

>Description:

The mdoc.samples(7) manual page documents the .Lb macro as accepting more
than one argument and then some punctuation; however, this does not seem
to be the case.
	
>How-To-Repeat:

[roam@ringworld:v0 ~]$ zcat /usr/share/man/man7/mdoc.samples.7.gz | groff -mdoc -Tascii | fgrep 'Usage: .Lb'
            Usage: .Lb argument ... { . , : ; ? ! ( ) [ ]}
[roam@ringworld:v0 ~]$ echo '.Lb libmd .' | groff -mdoc -Tascii | uniq
Usage: .Lb [library name]
Message Digest (MD4, MD5, etc.) Support Library (libmd, -lmd)

[roam@ringworld:v0 ~]$

This is so on both my Mar 17 -stable, the Mar 10 ref4.FreeBSD.org, and
the Dec 12 freefall.FreeBSD.org.

>Fix:

Wish I knew my way around groff macros :\
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->ru 
Responsible-Changed-By: roam 
Responsible-Changed-When: Sun Mar 18 06:10:50 PST 2001 
Responsible-Changed-Why:  
I guess Ruslan tinkers with groff and -mdoc macros.. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25894 
State-Changed-From-To: open->suspended 
State-Changed-By: ru 
State-Changed-When: Sun Mar 18 06:43:11 PST 2001 
State-Changed-Why:  
If you look at the actual Lb sources, you will see the comment 
explaining this macro "does not handle punctuation" and "is 
really only intended for a standalone use".  IOW, this macro 
is not parsed and is not callable. 

The good news are that this is fixed in -mdocNG, hence I put 
this in "suspended" pending the (RSN) new Groff release which 
will come with -mdocNG. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25894 
State-Changed-From-To: suspended->analyzed 
State-Changed-By: ru 
State-Changed-When: Tue Apr 17 09:39:50 PDT 2001 
State-Changed-Why:  
Groff 1.17 has been imported into FreeBSD 5.0-CURRENT. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25894 

From: Peter Pentchev <roam@orbitel.bg>
To: ru@FreeBSD.org
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: gnu/25894: mdoc .Lb macro does not accept punctuation
Date: Mon, 23 Apr 2001 10:45:15 +0300

 On Sun, Mar 18, 2001 at 06:50:18AM -0800, ru@FreeBSD.org wrote:
 > Synopsis: mdoc .Lb macro does not accept punctuation
 > 
 > If you look at the actual Lb sources, you will see the comment
 > explaining this macro "does not handle punctuation" and "is
 > really only intended for a standalone use".  IOW, this macro
 > is not parsed and is not callable.
 > 
 > The good news are that this is fixed in -mdocNG, hence I put
 > this in "suspended" pending the (RSN) new Groff release which
 > will come with -mdocNG.
 
 OK, this is indeed fixed in -mdocNG, or at least in what is on ref5
 right now :)  Thanks!  Now it just needs MFC'ing, but I guess this
 could wait, judging from the amount of work you're doing on -mdocNG
 in -current - it seems it's not quite trivial ;)
 
 G'luck,
 Peter
 
 -- 
 I am jealous of the first word in this sentence.
State-Changed-From-To: analyzed->closed 
State-Changed-By: ru 
State-Changed-When: Tue May 8 03:54:00 PDT 2001 
State-Changed-Why:  
Groff 1.17 has been imported into FreeBSD 4.3-STABLE. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25894 
>Unformatted:
