NAME
    marc-list - Tool to get MARC leader or field/subfield unique list.

SYNOPSIS
     marc-list [-f] [-h] [-s] [--version] marc_xml_file field [subfield]

DESCRIPTION
    Tool to fetch unique list of some field in MARC collection file. It
    could filter leader, control and data fields. There is possibility to
    add frequency for each item in list.

    It supports MARC XML files now.

ARGUMENTS
    *       "-f"

            Print frequency.

    *       "-h"

            Print help.

    *       "-s"

            Skip controls of field/subfield.

    *       "--version"

            Print version of script.

    *       "marc_xml_file"

            MARC XML file name.

            Input file could be compressed by IO::Uncompress::AnyUncompress
            module. Possibility is to uncompress gzip, zip, bzip2, zstd, xz,
            lzma, lzip, lzf or lzop.

    *       "field"

            MARC field.

            Field number or 'leader' string.

    *       "subfield"

            MARC subfield.

            It's optional. Not needed for control fields or leader. Required
            for data fields.

    *       "module_version"

EXAMPLE1
     marc-list __MARC.xml__ leader

EXAMPLE2
     marc-list __MARC.xml__ 008

EXAMPLE3
     marc-list __MARC.xml__ 015 a

REPOSITORY
    <https://github.com/michal-josef-spacek/App-MARC-List>

AUTHOR
    Michal Josef Špaček <mailto:skim@cpan.org>

    <http://skim.cz>

LICENSE AND COPYRIGHT
    © 2022-2026 Michal Josef Špaček

    BSD 2-Clause License

VERSION
    0.09

