[librecat-dev] MARC to MARC converter?

Johann Rolschewski rolschewski at gmail.com
Mon Oct 3 14:01:20 CEST 2016


Hi Jason,

> it seems that control fields are not accounted for. Do I have that right? 

You can set or add control fields this way:

$ catmandu convert MARC --type ISO to MARC --type XML --pretty 1 --fix
'marc_set("005","19940223151047.0")' < camel.mrc

$ catmandu convert MARC --type ISO to MARC --type XML --pretty 1 --fix
'marc_add("005",_,"19940223151047.0")' < camel.mrc

Best,

Johann


More information about the librecat-dev mailing list