X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=doc%2Fyaz-marcdump-man.xml;h=d7bfa0e26a5f5f4a0564d9b415417d9014440632;hp=3448628bd4c6b2801a5552aad88800ee07ac2b21;hb=902eb6aa5d8af21c0cd5d378ef8586996ec8c807;hpb=b3d1527a6d94b1af17bf36c7781be9679c3fbfc9 diff --git a/doc/yaz-marcdump-man.xml b/doc/yaz-marcdump-man.xml index 3448628..d7bfa0e 100644 --- a/doc/yaz-marcdump-man.xml +++ b/doc/yaz-marcdump-man.xml @@ -1,5 +1,5 @@ - %local; @@ -12,17 +12,20 @@ YAZ &version; + Index Data + yaz-marcdump 1 + Commands - + yaz-marcdump MARC record dump utility - + yaz-marcdump @@ -41,12 +44,12 @@ file - + DESCRIPTION yaz-marcdump reads MARC records from one or more files. - It parses each record and supports output in line-format, + It parses each record and supports output in line-format, ISO2709, MARCXML, MarcXchange as well as Hex output. @@ -69,9 +72,9 @@ character set conversion of each record. - + OPTIONS - + -i format @@ -79,7 +82,8 @@ Specifies input format. Must be one of marcxml, marc (ISO2709), marcxchange (ISO25577), - line (line mode MARC). + line (line mode MARC), + or turbomarc (Turbo MARC). @@ -89,7 +93,8 @@ Specifies output format. Must be one of marcxml, marc (ISO2709), marcxchange (ISO25577), - line (line mode MARC). + line (line mode MARC), + or turbomarc (Turbo MARC). @@ -99,6 +104,7 @@ Specify the character set from of the input MARC record. Should be used in conjunction with option -t. + Refer to the yaz-iconv man page for supported character sets. @@ -108,6 +114,7 @@ Specify the character set of of the output. Should be used in conjunction with option -f. + Refer to the yaz-iconv man page for supported character sets. @@ -119,7 +126,7 @@ pairs, where pos is an integer offset (0 - 23) for leader. Value is either a quoted string or an integer (character value in decimal). Pairs are comma separated. For example, to set leader at offset 9 - to a, use 9=a. + to a, use 9='a'. @@ -136,7 +143,7 @@ -C chunksize - Specifies chunk size; to be used conjunction with option + Specifies chunk size; to be used conjunction with option -s. @@ -189,7 +196,17 @@ yaz-marcdump -f MARC-8 -t UTF-8 -o marcxml marc21.raw >marcxml.xml - + + + Turbo MARC is a compact XML notation with same semantics as + MARCXML, but which allows for faster processing via XSLT. In order + to generate Turbo MARC records encoded in UTF-8 from MARC21 (ISO), one + could use: + + yaz-marcdump -f MARC8 -t UTF8 -o turbomarc -i marc marc21.raw >out.xml + + + FILES @@ -201,7 +218,22 @@ SEE ALSO - yaz(7) + + yaz + 7 + + + + + yaz-iconv + 1 + + + + MARCXML. + + + ISO25577.