aboutsummaryrefslogtreecommitdiffstats
path: root/test/gsubind.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/gsubind.awk')
-rw-r--r--test/gsubind.awk10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/gsubind.awk b/test/gsubind.awk
new file mode 100644
index 00000000..fec6cbc6
--- /dev/null
+++ b/test/gsubind.awk
@@ -0,0 +1,10 @@
+BEGIN {
+ f = "foo"
+# p = @/o/
+p = "o"
+ gsub(p, "q", f)
+ print f
+# fun = "gsub"
+# @fun(p, "q", f)
+# print f
+}