</record> was, brilliantly, NOT being appended to records
authorShawn Boyette <sboyette@esilibrary.com>
Tue, 23 Sep 2008 06:32:11 +0000 (06:32 +0000)
committerShawn Boyette <sboyette@esilibrary.com>
Tue, 23 Sep 2008 06:32:11 +0000 (06:32 +0000)
yaz-cleanup

index f2e3442..f4b2452 100755 (executable)
@@ -137,6 +137,7 @@ sub getline {
             %reccontext = ();
             $reccount++;
         } elsif ($l =~ m|</record>|) {
+            push @record, $l;
             write_record($NUMARC) if $reccount;
         } else {
             push @record, $l;