aboutsummaryrefslogtreecommitdiffstats
path: root/test/argarray.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:30:13 +0300
committerArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:30:13 +0300
commit66b0bdd602e952f20fa98f6ce5430cea68d4f598 (patch)
tree0b5f379a44720da132f3bd6a66cd900ca821a9aa /test/argarray.awk
parent61bb57af53ebe916d2db6e3585d4fc7ac1d99b92 (diff)
downloadegawk-66b0bdd602e952f20fa98f6ce5430cea68d4f598.tar.gz
egawk-66b0bdd602e952f20fa98f6ce5430cea68d4f598.tar.bz2
egawk-66b0bdd602e952f20fa98f6ce5430cea68d4f598.zip
Move to gawk-2.15.4.
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 "\""
}