From grg@isabase.philol.msu.ru  Mon Oct 12 03:20:39 1998
Received: from isabase.philol.msu.ru (isabase.philol.msu.ru [195.208.217.73])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA03699
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 12 Oct 1998 03:20:36 -0700 (PDT)
          (envelope-from grg@isabase.philol.msu.ru)
Received: (from grg@localhost)
	by isabase.philol.msu.ru (8.8.8/8.8.8) id OAA24599;
	Mon, 12 Oct 1998 14:17:38 GMT
	(envelope-from grg)
Message-Id: <199810121417.OAA24599@isabase.philol.msu.ru>
Date: Mon, 12 Oct 1998 14:17:38 GMT
From: Grigoriy Strokin <grg@isabase.philol.msu.ru>
Reply-To: grg@isabase.philol.msu.ru
To: FreeBSD-gnats-submit@freebsd.org
Subject: either m4 changequote bug or 'man m4' documentation bug
X-Send-Pr-Version: 3.2

>Number:         8282
>Category:       bin
>Synopsis:       either m4 changequote bug or 'man m4' documentation bug
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 12 03:30:01 PDT 1998
>Closed-Date:    Sun Dec 13 15:16:26 PST 1998
>Last-Modified:  Sun Dec 13 15:16:47 PST 1998
>Originator:     Grigoriy Strokin
>Release:        FreeBSD 3.0-980520-SNAP i386
>Organization:
Moscow University
>Environment:

	

>Description:

m4 'changequote' macro doesn't understand multicharacter symbols
for quotes. That is, 
   changequote(<<,>> 
works identically as
   changequote(<,>)
whereas man m5 says:
       changequote     Defines the quote symbols to be the first and 
                       second arguments.  The symbols may be up to five
                       characters long .

>How-To-Repeat:

This command line and program output illustrate the bug:
===============================================
$ echo 'changequote(<<,>>) <<quoted text>>'|m4
 <quoted text>
===============================================
no angle brackets should appear in output,
because double angle brackets must be considered
quotation symbols


>Fix:
	
a) include this problem to BUGS section for 'man m4'
b) just fix m4 sources
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sun Dec 13 15:16:26 PST 1998 
State-Changed-Why:  
Fixed up the manpage to reflect reality. 
>Unformatted:
