bugGNU roff - Bugs: bug #64467, [eqn] macros mistreat string...

 
 

bug #64467: [eqn] macros mistreat string arguments

Submitter:  Dave <barx>
Submitted:  Mon 24 Jul 2023 03:42:45 PM UTC
   
 
Category:  Preprocessor eqn Severity:  3 - Normal
Item Group:  Incorrect behaviour Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 24 Jul 2023 05:39:11 PM UTC, comment #1: 

Doug separately reported the same bug in http://lists.gnu.org/r/bug-groff/2020-03/msg00001.html

Dave <barx>
Group Member
Mon 24 Jul 2023 03:42:45 PM UTC, original submission:  

Reported by Doug McIlroy (http://lists.gnu.org/r/bug-groff/2020-03/msg00002.html).

$ cat test
.EQ
define f % $1 %
f("a,b")
.EN
$ eqn test > /dev/null
eqn:test:3: error: newline before end of quoted text

Quoth Doug, "This violates a cardinal rule that dates from the original eqn man page: `Strings enclosed in double quotes " " are passed through untouched.'"

Dave <barx>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by barx (Submitted the item)
  • -email is unavailable- added by barx (original reporter)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-07-24 barx Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code