projects
/
migration-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c575799
)
making trackers sync
author
Shawn Boyette
<sboyette@esilibrary.com>
Mon, 22 Sep 2008 21:33:51 +0000 (21:33 +0000)
committer
Shawn Boyette
<sboyette@esilibrary.com>
Mon, 22 Sep 2008 21:33:51 +0000 (21:33 +0000)
yaz-cleanup
patch
|
blob
|
history
diff --git
a/yaz-cleanup
b/yaz-cleanup
index
d44e4cf
..
1dbb089
100755
(executable)
--- a/
yaz-cleanup
+++ b/
yaz-cleanup
@@
-173,11
+173,12
@@
sub kill_line {
}
sub dump_record {
- my $line = <MARC>;
+ my $line = <MARC>; $count++;
+ update_context();
until ($line =~ m|</record>|) {
push @record, $line;
- $line = <MARC>;
- update_context;
+ $line = <MARC>; $count++;
+ update_context();
}
push @record, $line;
write_record($EXMARC);