summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--regress/usr.bin/m4/patterns.m45
-rw-r--r--regress/usr.bin/m4/patterns.out3
2 files changed, 7 insertions, 1 deletions
diff --git a/regress/usr.bin/m4/patterns.m4 b/regress/usr.bin/m4/patterns.m4
index 2f810df714a..cda5e8ed2af 100644
--- a/regress/usr.bin/m4/patterns.m4
+++ b/regress/usr.bin/m4/patterns.m4
@@ -1,2 +1,5 @@
-dnl $OpenBSD: patterns.m4,v 1.1 2001/09/16 21:09:19 espie Exp $
+dnl $OpenBSD: patterns.m4,v 1.2 2001/09/16 23:00:28 espie Exp $
patsubst(`quote s in string', `(s)', `\\\1')
+patsubst(`check whether subst
+over several lines
+works as expected', `^', `>>>')
diff --git a/regress/usr.bin/m4/patterns.out b/regress/usr.bin/m4/patterns.out
index b7e0c415bac..3e2264090af 100644
--- a/regress/usr.bin/m4/patterns.out
+++ b/regress/usr.bin/m4/patterns.out
@@ -1 +1,4 @@
quote \s in \string
+>>>check whether subst
+>>>over several lines
+>>>works as expected