aboutsummaryrefslogtreecommitdiffstats
path: root/test/inpref.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-04-28 16:46:05 +0300
committerArnold D. Robbins <arnold@skeeve.com>2015-04-28 16:46:05 +0300
commit6853b3e94c03194200c5a7c4450820a8eaa0920f (patch)
tree0e68baf9f5d687a0a3b6543f01522a56bf010279 /test/inpref.awk
parent020be4cb81b519a597acbf85e683cfb95993c2b9 (diff)
parentb4ef28f58688cf3c3a5878c595b6582144ee2cf1 (diff)
downloadegawk-6853b3e94c03194200c5a7c4450820a8eaa0920f.tar.gz
egawk-6853b3e94c03194200c5a7c4450820a8eaa0920f.tar.bz2
egawk-6853b3e94c03194200c5a7c4450820a8eaa0920f.zip
Merge branch 'master' into feature/regex-type
Diffstat (limited to 'test/inpref.awk')
-rw-r--r--test/inpref.awk9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/inpref.awk b/test/inpref.awk
new file mode 100644
index 00000000..d64ffe7f
--- /dev/null
+++ b/test/inpref.awk
@@ -0,0 +1,9 @@
+function test(x) {
+ print x
+ getline
+ print x
+}
+
+{
+ test($0)
+}