summaryrefslogtreecommitdiff
path: root/examples/sync-lines.m4
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sync-lines.m4')
-rw-r--r--examples/sync-lines.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/sync-lines.m4 b/examples/sync-lines.m4
new file mode 100644
index 0000000..405ab61
--- /dev/null
+++ b/examples/sync-lines.m4
@@ -0,0 +1,11 @@
+# Several input lines, expanding to one
+define(`foo', ``foo' line one.
+`foo' line two.
+`foo' line three.') xyz
+foo
+# Several input lines, expanding to none
+define(`foo', ``foo' line one.
+`foo' line two.
+`foo' line three.')dnl
+# one input line, expanding to several output lines
+foo foo