<div dir="ltr"><div class="gmail_extra"><div><div class="gmail-m_3147567351139098694gmail-m_3486486201903304455gmail_signature"><div dir="ltr"><div dir="ltr">Hi Patrick, </div><div dir="ltr"><br></div><div dir="ltr">Thanks for confirming, that's just what I thought. But the following simple fix doesn't fire. Same result with other commands. </div><div dir="ltr"><br></div><div dir="ltr">catmandu convert MARC --type ISO to MARC --type ISO ---fix "add_field('999','foo')" < camel.mrc<br></div><div dir="ltr"><div><br></div><div>Here's the output:</div><div><font color="#1155cc"><u><a href="https://gist.github.com/minorscience/61dceaa904ebf97fabd9ef59ef02a26f">https://gist.github.com/minorscience/61dceaa904ebf97fabd9ef59ef02a26f</a></u></font><br></div><div><font color="#1155cc"><u><br></u></font></div><div>Am I missing something obvious?</div><div><br></div><div>Best, Jason</div></div></div></div></div>
<br><div class="gmail_quote">On Fri, Sep 30, 2016 at 7:28 AM, Patrick Hochstenbach <span dir="ltr"><<a href="mailto:Patrick.Hochstenbach@ugent.be" target="_blank">Patrick.Hochstenbach@ugent.be</a><wbr>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr" style="font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:calibri,arial,helvetica,sans-serif">
<p>Hi Jason<br>
</p>
<p><br>
</p>
<p>Catmandu::MARC has MARC to MARC conversion:<br>
</p>
<p><br>
</p>
<p>$ catmandu convert MARC to MARC < t/camel.mrc<br>
</p>
<p><br>
</p>
<p>Gives ISO marc as input and output. In between you can do fixes.<br>
</p>
<p><br>
</p>
<p>If there is a bug you can report it at</p>
<p><br>
</p>
<p> <a href="https://github.com/LibreCat/Catmandu-MARC/issues" target="_blank">https://github.com/LibreCat/C<wbr>atmandu-MARC/issues</a><br>
</p>
<p><br>
</p>
<p>Cheers<br>
</p>
<p>Patrick<br>
</p>
<div style="color:rgb(33,33,33)">
<hr style="display:inline-block;width:98%">
<div id="gmail-m_3147567351139098694gmail-m_3486486201903304455m_3868786194473290330divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> <a href="mailto:librecat-dev-bounces@lists.uni-bielefeld.de" target="_blank">librecat-dev-bounces@lists.uni<wbr>-bielefeld.de</a> <<a href="mailto:librecat-dev-bounces@lists.uni-bielefeld.de" target="_blank">librecat-dev-bounces@lists.un<wbr>i-bielefeld.de</a>> on behalf of Jason Loeffler <<a href="mailto:j@minorscience.com" target="_blank">j@minorscience.com</a>><br>
<b>Sent:</b> Wednesday, September 28, 2016 8:24 PM<br>
<b>To:</b> <a href="mailto:librecat-dev@lists.uni-bielefeld.de" target="_blank">librecat-dev@lists.uni-bielefe<wbr>ld.de</a><br>
<b>Subject:</b> [librecat-dev] MARC to MARC converter?</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>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. </div>
<br clear="all">
<div>
<div class="gmail-m_3147567351139098694gmail-m_3486486201903304455m_3868786194473290330gmail_signature">
<div dir="ltr">
<div dir="ltr">
<div>
<div><font size="2" face="garamond, serif" color="#666666" style="background-color:rgb(255,255,255)">Jason Loeffler</font></div>
<div><font size="2" face="garamond, serif" color="#666666" style="background-color:rgb(255,255,255)">Technology Consultant | </font><span style="color:rgb(102,102,102);font-family:garamond,serif">The American Academy in Rome</span></div>
<div><font size="2" face="garamond, serif" color="#666666" style="background-color:rgb(255,255,255)">Minor Science | Application Development & Metadata Strategy</font></div>
<div><font size="2" face="garamond, serif" color="#666666" style="background-color:rgb(255,255,255)">Brooklyn, New York</font></div>
</div>
<div><font size="2" face="garamond, serif" color="#666666" style="background-color:rgb(255,255,255)"><a href="mailto:jason@minorscience.com" target="_blank">jason@minorscience.com</a></font></div>
<div><font size="2" face="garamond, serif" color="#666666" style="background-color:rgb(255,255,255)"><a href="tel:%28347%29%20405-0826" value="+13474050826" target="_blank">(347) 405-0826</a></font></div>
<div><font size="2" face="garamond, serif" color="#666666" style="background-color:rgb(255,255,255)">minorscience (Skype)</font></div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

</blockquote></div><br></div></div>