summaryrefslogtreecommitdiffstats
path: root/regress/roff/char/badarg.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-08-25 16:53:38 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-08-25 16:53:38 +0000
commit7582daff204d17b170462dc6b7f6fd218be6afc9 (patch)
treeff78b1959cd4fa9d7a802eb91fa11f10dc2f9e1e /regress/roff/char/badarg.in
parent4208da29a6d83d71a70576139d86e6a306290132 (diff)
downloadmandoc-7582daff204d17b170462dc6b7f6fd218be6afc9.tar.gz
Rudimentary implementation of the roff(7) .char (output glyph
definition) request, used for example by groff_hdtbl(7). This simplistic implementation may interact incorrectly with the .tr (input character translation) request. But come on, you are not only using .char *and* .tr, but you do so with respect to the same character in the same manual page?
Diffstat (limited to 'regress/roff/char/badarg.in')
-rw-r--r--regress/roff/char/badarg.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/regress/roff/char/badarg.in b/regress/roff/char/badarg.in
new file mode 100644
index 00000000..3b343640
--- /dev/null
+++ b/regress/roff/char/badarg.in
@@ -0,0 +1,10 @@
+.\" $OpenBSD: badarg.in,v 1.1 2018/08/25 16:43:52 schwarze Exp $
+.TH CHAR-BADARG 1 "August 25, 2018"
+.SH NAME
+char-badarg \(en char requests with invalid arguments
+.SH DESCRIPTION
+.char
+.char \fR myval
+.char \[myc]x myval
+.char xy myval
+myc: <\[myc]> x