summaryrefslogtreecommitdiff
path: root/pc/awklib
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-07-16 13:14:38 +0300
committerArnold D. Robbins <arnold@skeeve.com>2010-07-16 13:14:38 +0300
commitfae4762eba9ff7bb466a600130e9c90eaac6b0bc (patch)
tree62711fe7cd511824b5f8a90ba1ba7b523d42e127 /pc/awklib
parentbc70de7b3302d5a81515b901cae376b8b51d2004 (diff)
downloadgawk-fae4762eba9ff7bb466a600130e9c90eaac6b0bc.tar.gz
Move to gawk-3.1.1.gawk-3.1.1
Diffstat (limited to 'pc/awklib')
-rw-r--r--pc/awklib/igawk.awk8
1 files changed, 4 insertions, 4 deletions
diff --git a/pc/awklib/igawk.awk b/pc/awklib/igawk.awk
index dc0ba405..c660b8dc 100644
--- a/pc/awklib/igawk.awk
+++ b/pc/awklib/igawk.awk
@@ -34,16 +34,16 @@ BEGIN {
}
fpath = pathto($2)
if (fpath == "") {
- printf("igawk:%s:%d: cannot find %s\n", \
+ printf("igawk:%s:%d: cannot find %s\n",
input[stackptr], FNR, $2) > "/dev/stderr"
continue
}
if (! (fpath in processed)) {
processed[fpath] = input[stackptr]
- input[++stackptr] = fpath
+ input[++stackptr] = fpath # push onto stack
} else
- print $2, "included in", input[stackptr], \
- "already included in", \
+ print $2, "included in", input[stackptr],
+ "already included in",
processed[fpath] > "/dev/stderr"
}
close(input[stackptr])