summaryrefslogtreecommitdiff
path: root/examples/patsubst.m4
diff options
context:
space:
mode:
Diffstat (limited to 'examples/patsubst.m4')
-rw-r--r--examples/patsubst.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/patsubst.m4 b/examples/patsubst.m4
new file mode 100644
index 0000000..8569066
--- /dev/null
+++ b/examples/patsubst.m4
@@ -0,0 +1,8 @@
+# traceon(`patsubst')
+patsubst(`GNUs not Unix', `^', `OBS: ')
+patsubst(`GNUs not Unix', `\<', `OBS: ')
+patsubst(`GNUs not Unix', `\<\w', `\0=')
+patsubst(`GNUs not Unix', `\w*', `(\0)')
+patsubst(`GNUs not Unix', `\w+', `(\0)')
+patsubst(`GNUs not Unix', `\w+')
+patsubst(`GNUs not '` Unix', `[ ]+', ` ')