summaryrefslogtreecommitdiff
path: root/test/concat4.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/concat4.awk')
-rw-r--r--test/concat4.awk7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/concat4.awk b/test/concat4.awk
new file mode 100644
index 00000000..e6cf24fb
--- /dev/null
+++ b/test/concat4.awk
@@ -0,0 +1,7 @@
+{
+ a = $0
+ print index(a,"b")
+ getline
+ a = a $0
+ print index(a,"b")
+}