aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/roff/esc/V1.out_ascii
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2022-05-30 23:03:47 +0000
committerIngo Schwarze <schwarze@openbsd.org>2022-05-30 23:03:47 +0000
commitda6633e8c5db9f71ef2499ad46bc43e3854c2ac9 (patch)
treedc16ff25d96062244163d68f4ecdbe27a4f1f465 /regress/roff/esc/V1.out_ascii
parent47b136859c01b58c485871ddf294a613d823ece4 (diff)
downloadmandoc-da6633e8c5db9f71ef2499ad46bc43e3854c2ac9.tar.gz
mandoc-da6633e8c5db9f71ef2499ad46bc43e3854c2ac9.tar.zst
mandoc-da6633e8c5db9f71ef2499ad46bc43e3854c2ac9.zip
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.
Diffstat (limited to 'regress/roff/esc/V1.out_ascii')
-rw-r--r--regress/roff/esc/V1.out_ascii11
1 files changed, 11 insertions, 0 deletions
diff --git a/regress/roff/esc/V1.out_ascii b/regress/roff/esc/V1.out_ascii
new file mode 100644
index 00000000..2f22e58e
--- /dev/null
+++ b/regress/roff/esc/V1.out_ascii
@@ -0,0 +1,11 @@
+ESC-V1(1) General Commands Manual ESC-V1(1)
+
+NNAAMMEE
+ esc-V1 - interpolate environment variables
+
+DDEESSCCRRIIPPTTIIOONN
+ single-character name: "${N}"
+ double-character name: "${VN}"
+ multi-character name: "${VARNAME}"
+
+OpenBSD May 31, 2022 ESC-V1(1)