]> git.cameronkatri.com Git - mandoc.git/commit
Dummy implementation of the roff(7) \V (interpolate environment variable)
authorIngo Schwarze <schwarze@openbsd.org>
Mon, 30 May 2022 23:03:47 +0000 (23:03 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Mon, 30 May 2022 23:03:47 +0000 (23:03 +0000)
commitda6633e8c5db9f71ef2499ad46bc43e3854c2ac9
treedc16ff25d96062244163d68f4ecdbe27a4f1f465
parent47b136859c01b58c485871ddf294a613d823ece4
Dummy implementation of the roff(7) \V (interpolate environment variable)
escape sequence.  This is needed to get \V into the correct parsing
class, ESCAPE_EXPAND.

It is intentional that mandoc(1) output is *not* influenced by environment
variables, so interpolate the name of the variable with some decorating
punctuation rather than interpolating its value.
regress/roff/esc/Makefile
regress/roff/esc/V1.in [new file with mode: 0644]
regress/roff/esc/V1.out_ascii [new file with mode: 0644]
regress/roff/esc/V1.out_lint [new file with mode: 0644]
roff.7
roff.c
roff_escape.c