NAME

marcmoose-lint - Lint ISO2709 file against validation rules

VERSION

version 1.0.47

DESCRIPTION

Command line utility to lint biblio records based on a validation rules file. Biblio records file must be in ISO2709 format (UTF-8 only). Validation rules file is in the format described in MARC::Moose::Lint::Checker. At the end of the process, handled by MARC::Moose::Lint::Processor, 3 files are generated: marc.iso.ok, an ISO2709 file containing biblio records complying with validation rules, marc.iso.bad, an ISO2709 file which contains records violating validation rules, and marc.iso.log a text file containing a text version of the biblio records that have failed the validation, followed by a description of the violated rules.

TIP: You can get quick statistics on errors frequency with this Perl On-Liner:

perl -ne 'if (/^([0-9]{3})[()0-9]*: *(.*)$/) { print "$1: $2\n";}' marc.iso.log | sort | uniq -c

SYNOPSYS

marcmoose-lint --help
marcmoose-lint unimarc.rules marc.iso
marcmoose-lint --noverbose marc21.rules marc.iso

SEE ALSO

AUTHOR

Frédéric Demians <f.demians@tamil.fr>

COPYRIGHT AND LICENSE

This software is copyright (c) 2024 by Frédéric Demians.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.