NAME

marc-leader - Tool to decode MARC leader from file or string.

SYNOPSIS

marc-leader [-a] [-d] [-f marc_xml_file] [-h] [-l lang_code] [-v] [--version] [leader_string]

DESCRIPTION

It supports MARC XML files now.

ARGUMENTS

  • -a

    Print with ANSI colors. Or use NO_COLOR/COLOR env variables.

  • -d

    Don't print description.

  • -f marc_xml_file

    Use MARC XML file name to decode of leader instead of leader string.

  • -h

    Print help.

  • -l lang_code

    ISO 639-1 language code of output language.

    Default value is from locales.

  • -v

    Verbose mode.

  • --version

    Print version of script.

  • [leader_string]

    MARC leader string to decode. It's optional to -f option.

EXAMPLE1

marc-leader -f __MARC.xml__

EXAMPLE2

marc-leader '00621ncm a2200217 a 4500'

REPOSITORY

https://github.com/michal-josef-spacek/App-MARC-Leader

AUTHOR

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

http://skim.cz

LICENSE AND COPYRIGHT

© 2023-2026 Michal Josef Špaček

BSD 2-Clause License

VERSION

0.11