Bug 8282 - either m4 changequote bug or 'man m4' documentation bug
Summary: either m4 changequote bug or 'man m4' documentation bug
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-10-12 11:30 UTC by Grigoriy Strokin
Modified: 1998-12-13 23:16 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.