Re: Converting MARC fields with Catmandu - repeated subfields being squished together.

2014-06-08 Thread Robin Sheat
Patrick Hochstenbach schreef op vr 06-06-2014 om 06:53 [+0200]: By default all repeated subfields get joined by empty space, you can set this with the 'join' option: marc_map('650v','subject',join:'%%%') This doesn't work: $ cat test.fixes marc_map('650','subject',join:'###');

Re: Converting MARC fields with Catmandu - repeated subfields being squished together.

2014-06-08 Thread Robin Sheat
Robin Sheat schreef op ma 09-06-2014 om 14:50 [+1200]: $ cat test.fixes marc_map('650','subject',join:'###'); remove_field('record'); Ah, I found that I need to change the syntax a bit: marc_map('650','subject', -split = 1); gives me: {subject:[[Counting,Pictorial works,Juvenile