Print

Print


"on a Linux computer".  I can only *dream* of having access to a Linux
computer at work. I have a Win 7 machine that is 4 years old.  I can't even
run a VM on here, it's so slow. (I am due for a replacement this summer,
but I can't hold my breath on this project until then.)

Nonetheless, thank you for sharing this info.  I will make a note for the
future, in case that day comes where I can have a real computer!

Julie

On Thu, Jan 12, 2017 at 2:38 AM, Patrick Hochstenbach <
[log in to unmask]> wrote:

> Dear Julie
>
> The Perl project Catmandu https://metacpan.org/pod/Catmandu is targeted
> to massage data (including MARC). You can install it with this command on a
> Linux  computer:
>
> $ cpanm Catmandu Catmandu::MARC
>
> To process your file and strip out all the fields with ‘Faux College’ in
> the 710a field use this command:
>
> $ catmandu convert MARC —type XML to MARC —type XML —fix strip.fix <
> yourdata.xml
>
> with a ‘strip.fix’ Fix script that looks like:
>
> do marc_each()
>   if marc_match(“710a”,”Faux College")
>         reject()
>   end
> end
>
> Cheers
> Patrick