marcmoose-lint - Lint ISO2709 file against validation rules
version 1.0.27
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
marcmoose-lint --help marcmoose-lint unimarc.rules marc.iso marcmoose-lint --noverbose marc21.rules marc.iso
MARC::Moose
MARC::Moose::Lint::Checker
MARC::Moose::Lint::Processor
Frédéric Demians <f.demians@tamil.fr>
This software is copyright (c) 2015 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.
To install MARC::Moose, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MARC::Moose
CPAN shell
perl -MCPAN -e shell install MARC::Moose
For more information on module installation, please visit the detailed CPAN module installation guide.