From fae4762eba9ff7bb466a600130e9c90eaac6b0bc Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 16 Jul 2010 13:14:38 +0300 Subject: Move to gawk-3.1.1. --- pc/awklib/igawk.awk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pc/awklib') 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]) -- cgit v1.2.1