[librecat-dev] MARC to MARC converter?

Jason Loeffler j at minorscience.com
Fri Sep 30 20:56:28 CEST 2016


Hi Patrick,

Thanks for confirming, that's just what I thought. But the following simple
fix doesn't fire. Same result with other commands.

catmandu convert MARC --type ISO to MARC --type ISO ---fix
"add_field('999','foo')" < camel.mrc

Here's the output:
*https://gist.github.com/minorscience/61dceaa904ebf97fabd9ef59ef02a26f
<https://gist.github.com/minorscience/61dceaa904ebf97fabd9ef59ef02a26f>*

Am I missing something obvious?

Best, Jason

On Fri, Sep 30, 2016 at 7:28 AM, Patrick Hochstenbach <
Patrick.Hochstenbach at ugent.be> wrote:

> Hi Jason
>
>
> Catmandu::MARC has MARC to MARC conversion:
>
>
> $ catmandu convert MARC to MARC < t/camel.mrc
>
>
> Gives ISO marc as input and output. In between you can do fixes.
>
>
> If there is a bug you can report it at
>
>
>  https://github.com/LibreCat/Catmandu-MARC/issues
>
>
> Cheers
>
> Patrick
> ------------------------------
> *From:* librecat-dev-bounces at lists.uni-bielefeld.de <
> librecat-dev-bounces at lists.uni-bielefeld.de> on behalf of Jason Loeffler <
> j at minorscience.com>
> *Sent:* Wednesday, September 28, 2016 8:24 PM
> *To:* librecat-dev at lists.uni-bielefeld.de
> *Subject:* [librecat-dev] MARC to MARC converter?
>
> Though I don't see any documentation on this, I've successfully and
> extensively used Catmandu as a JSON to JSON converter in order to
> post-process JSON objects. Looking at the respective MARC modules, it seems
> that Catmandu would also handle MARC to MARC conversion. Is this not the
> case? I've tried a few different approaches and only get an empty record in
> the output stream.
>
> Jason Loeffler
> Technology Consultant | The American Academy in Rome
> Minor Science | Application Development & Metadata Strategy
> Brooklyn, New York
> jason at minorscience.com
> (347) 405-0826
> minorscience (Skype)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-bielefeld.de/mailman2/unibi/public/librecat-dev/attachments/20160930/7bde510b/attachment.html>


More information about the librecat-dev mailing list