Bug 8282

Summary: either m4 changequote bug or 'man m4' documentation bug
Product: Base System Reporter: Grigoriy Strokin <grg>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Grigoriy Strokin 1998-10-12 11:30:01 UTC
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 .

Fix: 

a) include this problem to BUGS section for 'man m4'
b) just fix m4 sources
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
Comment 1 Steve Price freebsd_committer freebsd_triage 1998-12-13 23:16:26 UTC
State Changed
From-To: open->closed

Fixed up the manpage to reflect reality.