aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/roff/esc/bs_mdoc.out_ascii
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-01-17 06:33:35 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-01-17 06:33:35 +0000
commita4ae71bcffff865ae59067bce50ebae4d526f916 (patch)
treeaef6ece2c5f041b726cabf2498968cf1c5ce7af2 /regress/roff/esc/bs_mdoc.out_ascii
parent9e2b86ff9d14ef40a2d3e80e6164eaa343e4face (diff)
downloadmandoc-a4ae71bcffff865ae59067bce50ebae4d526f916.tar.gz
mandoc-a4ae71bcffff865ae59067bce50ebae4d526f916.tar.zst
mandoc-a4ae71bcffff865ae59067bce50ebae4d526f916.zip
Test handling of escaped backslashes because the code related to
copy mode is complicated and prone to regressions.
Diffstat (limited to 'regress/roff/esc/bs_mdoc.out_ascii')
-rw-r--r--regress/roff/esc/bs_mdoc.out_ascii17
1 files changed, 17 insertions, 0 deletions
diff --git a/regress/roff/esc/bs_mdoc.out_ascii b/regress/roff/esc/bs_mdoc.out_ascii
new file mode 100644
index 00000000..6b4e9049
--- /dev/null
+++ b/regress/roff/esc/bs_mdoc.out_ascii
@@ -0,0 +1,17 @@
+ESC-BS_MDOC(1) General Commands Manual ESC-BS_MDOC(1)
+
+NNAAMMEE
+ eesscc--bbss__mmddoocc - escaped backslashes in mdoc(7) code
+
+DDEESSCCRRIIPPTTIIOONN
+ on a text line: prefix\suffix
+
+ in a macro definition: prefix(initial)suffix prefix(later)suffix
+
+ in a string definition: prefix(initial)middle(later)suffix
+
+ in a high-level macro argument: pprreeffiixx((llaatteerr))ssuuffffiixx
+
+ in a user-defined macro argument: {prefix(later)suffix}
+
+OpenBSD January 17, 2019 OpenBSD