From 57059e6b3b4dd8829015b70cffbd8f3b414a5f6d Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Thu, 19 May 2011 18:52:38 +0300 Subject: Minor igawk change, update version after tar ball. --- awklib/eg/prog/igawk.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'awklib/eg/prog') diff --git a/awklib/eg/prog/igawk.sh b/awklib/eg/prog/igawk.sh index bd9d9ac8..03d1c996 100644 --- a/awklib/eg/prog/igawk.sh +++ b/awklib/eg/prog/igawk.sh @@ -84,6 +84,9 @@ function pathto(file, i, t, junk) if (index(file, "/") != 0) return file + if (file == "-") + return file + for (i = 1; i <= ndirs; i++) { t = (pathlist[i] "/" file) if ((getline junk < t) > 0) { -- cgit v1.2.3