summaryrefslogtreecommitdiff
path: root/examples/patsubst.m4
diff options
context:
space:
mode:
authorJeff Bailey <jbailey@raspberryginger.com>2000-02-17 03:03:19 +0000
committerJeff Bailey <jbailey@raspberryginger.com>2000-02-17 03:03:19 +0000
commitbd11691d6520f7539e7ed2efdf75f266719e27e9 (patch)
tree13d3a4e534f6df846a128af52438769b9f51f09e /examples/patsubst.m4
downloadm4-bd11691d6520f7539e7ed2efdf75f266719e27e9.tar.gz
Initial revision
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 00000000..3b390ae0
--- /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', `[ ]+', ` ')