diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-06-19 12:40:38 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-06-19 12:40:38 +0300 |
commit | f7cd8a03c09a00c4cb520f881bbe838cf76e718f (patch) | |
tree | b4089722a537426cf28d607a2eab7e8be01c29d9 /test/gsubind.awk | |
parent | 20037f36ee350ee64699d311e4296be1f0367dd2 (diff) | |
download | gawk-f7cd8a03c09a00c4cb520f881bbe838cf76e718f.tar.gz |
Cleanup files and fix up tests for typed regexes and typeof.
Diffstat (limited to 'test/gsubind.awk')
-rw-r--r-- | test/gsubind.awk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/gsubind.awk b/test/gsubind.awk new file mode 100644 index 00000000..fce0d818 --- /dev/null +++ b/test/gsubind.awk @@ -0,0 +1,9 @@ +BEGIN { + f = "foo" + p = @/o/ + gsub(p, "q", f) + print f + fun = "gsub" + @fun(p, "q", f) + print f +} |