projects
/
migration-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
3b94741
)
Call attention to subfields appearing more than once within a single tag
author
Ben Ostrowsky
<ben@esilibrary.com>
Thu, 5 May 2011 16:33:18 +0000 (16:33 +0000)
committer
Galen Charlton
<gmc@esilibrary.com>
Mon, 16 Jul 2012 15:30:52 +0000 (11:30 -0400)
extract_holdings
patch
|
blob
|
history
diff --git
a/extract_holdings
b/extract_holdings
index
49de83c
..
1d416e2
100755
(executable)
--- a/
extract_holdings
+++ b/
extract_holdings
@@
-156,7
+156,7
@@
sub dump_sample_detail {
for my $subkey (sort keys %{ $tags->{$tag} }) {
my $sub = $tags->{$tag}{$subkey};
print "|| $subkey | ", $sub->{value}, " | ",
- $sub->{count}, "/", $sub->{tcnt}, " | ||\n";
+ $sub->{count}, "/", $sub->{tcnt}, " | ", ($sub->{count} > $sub->{tcnt}) ? "MULTI" : "", " ||\n";
}
print "\n";
}