YAZ-RECORD-ICONV(1)
π YAZ-RECORD-ICONV(1) π
okay bestie, so this whole page lives in the Commands section of the manual, and the title up top is literally YAZ-RECORD-ICONV(1) β that's the main character name of this entry, periodt. come sit with me, we're learning a lil utility π
β¨ NAME β¨
yaz-record-conv β the YAZ Record Conversion Utility π¦
πΈ SYNOPSIS πΈ
like, the whole vibe in one line:
yaz-record-conv [-v loglevel] [config] [fname...]
π DESCRIPTION π
ngl, yaz-record-conv is a program that exercises the record conversion sub system. that's literally its whole job, she's a tester girlie π
if you want the real tea on how it works, go peek at the record_conv.h header. iykyk π
π OPTIONS π
-v_level_ β sets the LOG level to _level_. and okay here's the thing: _level_ isn't just one thing, it's a sequence of tokens separated by comma π. each token is either an integer, or one of these named LOG items:fatal,debug,warn,log,malloc,all,none. mix and match, it's giving buffet.
π₯ EXAMPLES π₯
okay so this next part? iconic. this backend config converts MARC records (ISO2709) to Dublin-Core XML β¨
<backend name="F" syntax="usmarc">
<marc inputcharset="marc-8" inputformat="marc" outputformat="marcxml"/>
<xslt stylesheet="../etc/MARC21slim2DC.xsl"/>
</backend>
and then β not me actually converting one of the sample records from YAZ' test directory π«Ά β we can do exactly that with:
$ ../util/yaz-record-conv record-conv-conf.xml marc6.marc
<?xml version="1.0"?>
<dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/">
<dc:title>How to program a computer</dc:title>
<dc:creator>
Jack Collins
</dc:creator>
<dc:type>text</dc:type>
<dc:publisher>Penguin</dc:publisher>
<dc:language>eng</dc:language>
</dc:dc>
look at that output. she ate and left no crumbs ππ
π FILES π
record_conv.hβ the header file, the source of all truth, the blueprint bestie π§
π SEE ALSO π
yaz(7)β go read that one too, she's the bigger sister π
π AUTHORS π
Index Data β the icons who made this π«Ά
aaaand that's the page!! this little beauty is from YAZ 5.38.1, dated 10/16/2026 β so yeah, that's the version and the date, noted for the record, no cap β mwah, go convert some records π β¨π
π¦ where this page comes from
- arch rolling: yaz 5.38.1-1 Β· LicenseRef-yaz
- fedora 44: yaz 5.38.1-1.fc44 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms