Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Oct 1998 14:17:38 GMT
From:      Grigoriy Strokin <grg@isabase.philol.msu.ru>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/8282: either m4 changequote bug or 'man m4' documentation bug
Message-ID:  <199810121417.OAA24599@isabase.philol.msu.ru>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 12 03:30:01 PDT 1998
>Last-Modified:
>Originator:     Grigoriy Strokin
>Organization:
Moscow University
>Release:        FreeBSD 3.0-980520-SNAP i386
>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
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810121417.OAA24599>