aboutsummaryrefslogtreecommitdiffstats
path: root/test/argarray.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/argarray.awk')
-rw-r--r--test/argarray.awk5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/argarray.awk b/test/argarray.awk
index 8015d852..1960f9bd 100644
--- a/test/argarray.awk
+++ b/test/argarray.awk
@@ -7,5 +7,8 @@ BEGIN {
print "\t", ARGV[x]
print "Environment variable TEST=" ENVIRON["TEST"]
print "and the current input file is called \"" FILENAME "\""
- print "but this would change if we would have something to process"
+}
+
+FNR == 1 {
+ print "in main loop, this input file is known as \"" FILENAME "\""
}