aboutsummaryrefslogtreecommitdiffstats
path: root/pc/awklib
diff options
context:
space:
mode:
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])