From: Ben Ostrowsky Date: Thu, 5 May 2011 16:33:18 +0000 (+0000) Subject: Call attention to subfields appearing more than once within a single tag X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=commitdiff_plain;h=38b86b24ad309d12b60c78b3854e8fc20d32bc18 Call attention to subfields appearing more than once within a single tag --- diff --git a/extract_holdings b/extract_holdings index 49de83c..1d416e2 100755 --- 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"; }