From 679aecdc2528f2d980470a35905ee3ac92a502e2 Mon Sep 17 00:00:00 2001 From: Shawn Boyette Date: Wed, 24 Sep 2008 14:49:36 +0000 Subject: [PATCH] added marctype option with XML default --- fingerprinter | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/fingerprinter b/fingerprinter index 3d224a2..71376b9 100755 --- a/fingerprinter +++ b/fingerprinter @@ -291,6 +291,7 @@ sub initialize { 'incoming', 'incumbent', 'exception|x=s', + 'marctype|m=s', 'output|o=s', 'runtype|r=s', 'subfield|s=s', @@ -305,12 +306,14 @@ sub initialize { if ($c->{incoming}) { $c->{tag} = 903 unless defined $c->{tag}; $c->{subfield} = 'a' unless defined $c->{subfield}; + $c->{marctype} = 'XML' unless defined $c->{marctype}; $c->{output} = 'incoming.fp' unless defined $c->{output}; $c->{exception} = 'incoming.ex' unless defined $c->{exception}; $c->{runtype} = 'full' unless defined $c->{runtype}; } elsif ($c->{incumbent}) { $c->{tag} = 901 unless defined $c->{tag}; $c->{subfield} = 'c' unless defined $c->{subfield}; + $c->{marctype} = 'XML' unless defined $c->{marctype}; $c->{output} = 'incumbent.fp' unless defined $c->{output}; $c->{exception} = 'incumbent.ex' unless defined $c->{exception}; $c->{runtype} = 'full' unless defined $c->{runtype}; -- 1.7.2.5