NAME
marc-filter - Tool to filter records in MARC dataset.
SYNOPSIS
marc-filter [-h] [-n num] [-o format] [-r] [--version] marc_xml_file field [subfield] value
DESCRIPTION
Tool to filter MARC records in big datasets. Could filter by
field/subfield or leader and/or by number of output records.
It supports MARC XML files now.
ARGUMENTS
* "-h"
Print help.
* "-n num"
Number of records to output,
Default value is all records to output.
* "-o format"
Output MARC format.
Possible formats are ascii, xml.
* "-r"
Use value as Perl regexp.
* "--version"
Print version of script.
* "marc_xml_file"
MARC XML file name.
* "field"
MARC field.
Field number or 'leader' string or material type string.
Possible material type strings are:
* book
* computer_file
* continuing_resource
* map
* mixed_material
* music
* visual_material
* "subfield"
MARC subfield.
It's optional in case of 'leader'.
* "value"
MARC field/subfield or leader value to filter.
REPOSITORY
<https://github.com/michal-josef-spacek/App-MARC-Filter>
AUTHOR
Michal Josef Å paÄek <mailto:skim@cpan.org>
<http://skim.cz>
LICENSE AND COPYRIGHT
© 2022-2025 Michal Josef Å paÄek
BSD 2-Clause License
VERSION
0.05