[librecat-dev] MARC to MARC converter?
Johann Rolschewski
rolschewski at gmail.com
Sat Oct 1 13:57:59 CEST 2016
Hi Jason,
you should use the "marc_*"-fixes:
$ catmandu convert MARC --type ISO to MARC --type XML --fix
'marc_add(900,ind1," ",a,test,b,test)' < camel.mrc
Look at <https://metacpan.org/release/Catmandu-MARC> for more documentation.
Kind regards,
Johann
Am 30.09.2016 um 20:56 schrieb Jason Loeffler:
> 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_
> _
> _
> Am I missing something obvious?
>
> Best, Jason
More information about the librecat-dev
mailing list