summaryrefslogtreecommitdiffstats
path: root/regress/roff/rm
diff options
context:
space:
mode:
Diffstat (limited to 'regress/roff/rm')
-rw-r--r--regress/roff/rm/Makefile5
-rw-r--r--regress/roff/rm/basic.in19
-rw-r--r--regress/roff/rm/basic.out_ascii10
3 files changed, 34 insertions, 0 deletions
diff --git a/regress/roff/rm/Makefile b/regress/roff/rm/Makefile
new file mode 100644
index 00000000..14c74a60
--- /dev/null
+++ b/regress/roff/rm/Makefile
@@ -0,0 +1,5 @@
+# $OpenBSD: Makefile,v 1.2 2011/11/17 16:28:46 schwarze Exp $
+
+REGRESS_TARGETS=basic
+
+.include <bsd.regress.mk>
diff --git a/regress/roff/rm/basic.in b/regress/roff/rm/basic.in
new file mode 100644
index 00000000..4e3e2650
--- /dev/null
+++ b/regress/roff/rm/basic.in
@@ -0,0 +1,19 @@
+.Dd January 11, 2011
+.Dt RM-BASIC 1
+.Os OpenBSD
+.Sh NAME
+.Nm rm-basic
+.Nd the remove macro request
+.Sh DESCRIPTION
+.de mymacro
+Hello
+..
+.ds mystring world
+before rm:
+.mymacro
+\*[mystring]!
+.br
+.rm mymacro mystring
+after rm:
+.mymacro
+\*[mystring]!
diff --git a/regress/roff/rm/basic.out_ascii b/regress/roff/rm/basic.out_ascii
new file mode 100644
index 00000000..145b85d0
--- /dev/null
+++ b/regress/roff/rm/basic.out_ascii
@@ -0,0 +1,10 @@
+RM-BASIC(1) General Commands Manual RM-BASIC(1)
+
+NNAAMMEE
+ rrmm--bbaassiicc - the remove macro request
+
+DDEESSCCRRIIPPTTIIOONN
+ before rm: Hello world!
+ after rm: !
+
+OpenBSD January 11, 2011 OpenBSD