From 38b86b24ad309d12b60c78b3854e8fc20d32bc18 Mon Sep 17 00:00:00 2001 From: Ben Ostrowsky Date: Thu, 5 May 2011 16:33:18 +0000 Subject: [PATCH] Call attention to subfields appearing more than once within a single tag --- extract_holdings | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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"; } -- 1.7.2.5