<div dir="ltr"><div dir="ltr"><p>Hello,</p><p>To extract all the ISBN numbers:we use the 'dedup.fix':</p><p>marc_map(020a, identifier.$append)<br></p><p>replace_all(identifier.*,"\s+.*","")</p><p>do list(path:identifier)</p><p>  isbn13(.)</p><p>end</p><p>do hashmap(exporter:YAML)</p><p>  copy_field(identifier,key)</p><p>  copy_field(_id,value)</p><p>end</p><p>$ catmandu convert MARC to Null --fix dedup.fix < marc.mrc > output.yml<br></p><p>Then we use the 'cleanup.fix' script:<br></p><p>select exists(value.1)<br></p><p>join_field(value,",")</p><p>$ catmandu convert YAML to TSV --fix cleanup.fix < output.yml > result.csv<br></p><p>This will provide a tab delimited file of double isbn numbers in the MARC input file.<br></p><p>how could one add more info to this csv, for example something like<br></p><p>duplicateISBN, id1,600a,600b,id2,600a,600b<br></p><p>thank you</p><p><br></p><p><br></p><p><br></p></div></div>