aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/roff/esc/p.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-14 01:31:26 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-14 01:31:26 +0000
commit078c4f79913f5f296b88db4a9fed67f1ea124c86 (patch)
treedeafb282df1e0b025b4322b763df47080a885828 /regress/roff/esc/p.in
parent3352a8e9bd0f6a0666c5dcb84ccdb5536471d280 (diff)
downloadmandoc-078c4f79913f5f296b88db4a9fed67f1ea124c86.tar.gz
mandoc-078c4f79913f5f296b88db4a9fed67f1ea124c86.tar.zst
mandoc-078c4f79913f5f296b88db4a9fed67f1ea124c86.zip
implement the roff(7) \p (break output line) escape sequence
Diffstat (limited to 'regress/roff/esc/p.in')
-rw-r--r--regress/roff/esc/p.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/regress/roff/esc/p.in b/regress/roff/esc/p.in
new file mode 100644
index 00000000..b94ab13a
--- /dev/null
+++ b/regress/roff/esc/p.in
@@ -0,0 +1,15 @@
+.Dd June 14, 2017
+.Dt ESC-P 1
+.Os OpenBSD
+.Sh NAME
+.Nm esc-p
+.Nd line break escape sequence
+.Sh DESCRIPTION
+no blank: line one\pline two
+.Pp
+blank after esc: line one\p line two
+.Pp
+blank before esc: line one \pline two
+.Pp
+at eol: line one\p
+line two