Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.groff.bug > #1767
| From | Doug McIlroy <doug@cs.dartmouth.edu> |
|---|---|
| Newsgroups | gnu.groff.bug |
| Subject | eqn mishandles quoted strings in macro arguments |
| Date | 2020-03-10 21:39 -0400 |
| Message-ID | <mailman.2445.1583890753.2412.bug-groff@gnu.org> (permalink) |
| References | <202003110139.02B1d9mv034615@tahoe.cs.Dartmouth.EDU> |
Eqn does not take quotes into account when parsing macro
arguments. Example:
.EQ
define f % $1 %
f("a,b")
.EN
Eqn thinks the call of f has two arguments, each with an
unmatched quote. This interpretation violates the plain
meaning of this statement in classic (e.g v7 and v10)
man pages for eqn: `Strings enclosed in double quotes " "
are passed through untouched.' (Full disclosure: v7
eqn did not support macros with arguments; v10 eqn did.)
Doug McIlroy
Back to gnu.groff.bug | Previous | Next | Find similar
eqn mishandles quoted strings in macro arguments Doug McIlroy <doug@cs.dartmouth.edu> - 2020-03-10 21:39 -0400
csiph-web