aboutsummaryrefslogtreecommitdiffstats
path: root/test/inclib.awk
diff options
context:
space:
mode:
authorAndrew J. Schorr <aschorr@telemetry-investments.com>2012-05-19 23:45:07 -0400
committerAndrew J. Schorr <aschorr@telemetry-investments.com>2012-05-19 23:45:07 -0400
commitcdf892a07fa67c635997e41ee8fe175aaafb2431 (patch)
tree46245d7f88797b98dbb60e60b223b3da9ff13cd1 /test/inclib.awk
parent0f2e51f9b18a1c4e203e0bd0ac3c68db9faa9b6d (diff)
downloadegawk-cdf892a07fa67c635997e41ee8fe175aaafb2431.tar.gz
egawk-cdf892a07fa67c635997e41ee8fe175aaafb2431.tar.bz2
egawk-cdf892a07fa67c635997e41ee8fe175aaafb2431.zip
Add -i option, append .awk if initial search fails, and allow -f repeats.
Diffstat (limited to 'test/inclib.awk')
-rw-r--r--test/inclib.awk7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/inclib.awk b/test/inclib.awk
new file mode 100644
index 00000000..51785283
--- /dev/null
+++ b/test/inclib.awk
@@ -0,0 +1,7 @@
+BEGIN {
+ print "Include library loaded."
+}
+
+function sandwich(pfx,x,sfx) {
+ return (pfx x sfx)
+}