aboutsummaryrefslogtreecommitdiffstats
path: root/awklib/eg/prog/egrep.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-12-15 23:33:49 +0200
committerArnold D. Robbins <arnold@skeeve.com>2010-12-15 23:33:49 +0200
commitedfb721ac785219e9b881d8ac3a841cef8270a79 (patch)
tree896975ebdb9331b17157ea6e30f646d3e3c75df6 /awklib/eg/prog/egrep.awk
parent9d3481aa7472d05543df77e0b2da9077e5ab3795 (diff)
downloadegawk-edfb721ac785219e9b881d8ac3a841cef8270a79.tar.gz
egawk-edfb721ac785219e9b881d8ac3a841cef8270a79.tar.bz2
egawk-edfb721ac785219e9b881d8ac3a841cef8270a79.zip
Doc fixes.
Diffstat (limited to 'awklib/eg/prog/egrep.awk')
-rw-r--r--awklib/eg/prog/egrep.awk3
1 files changed, 2 insertions, 1 deletions
diff --git a/awklib/eg/prog/egrep.awk b/awklib/eg/prog/egrep.awk
index b34241f8..56d199c8 100644
--- a/awklib/eg/prog/egrep.awk
+++ b/awklib/eg/prog/egrep.awk
@@ -54,11 +54,12 @@ function beginfile(junk)
}
function endfile(file)
{
- if (! no_print && count_only)
+ if (! no_print && count_only) {
if (do_filenames)
print file ":" fcount
else
print fcount
+ }
total += fcount
}