Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.groff.bug > #1767 > unrolled thread
| Started by | Doug McIlroy <doug@cs.dartmouth.edu> |
|---|---|
| First post | 2020-03-10 21:39 -0400 |
| Last post | 2020-03-10 21:39 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.groff.bug
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
eqn mishandles quoted strings in macro arguments Doug McIlroy <doug@cs.dartmouth.edu> - 2020-03-10 21:39 -0400
| From | Doug McIlroy <doug@cs.dartmouth.edu> |
|---|---|
| Date | 2020-03-10 21:39 -0400 |
| Subject | eqn mishandles quoted strings in macro arguments |
| Message-ID | <mailman.2445.1583890753.2412.bug-groff@gnu.org> |
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 top | Article view | gnu.groff.bug
csiph-web