aboutsummaryrefslogtreecommitdiffstats
path: root/awklib/eg/prog/labels.awk
diff options
context:
space:
mode:
Diffstat (limited to 'awklib/eg/prog/labels.awk')
-rw-r--r--awklib/eg/prog/labels.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/awklib/eg/prog/labels.awk b/awklib/eg/prog/labels.awk
index eaab49fc..abf53c3b 100644
--- a/awklib/eg/prog/labels.awk
+++ b/awklib/eg/prog/labels.awk
@@ -2,6 +2,7 @@
#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# June 1992
+# December 2010, minor edits
# Each label is 5 lines of data that may have blank lines.
# The label sheets have 2 blank lines at the top and 2 at
@@ -29,8 +30,7 @@ function printpage( i, j)
printf "\n\n" # footer
- for (i in line)
- line[i] = ""
+ delete line
}
# main rule