MARCgrep.pl

2011-12-13 Thread Stefano Bargioni
Hi, at http://en.pusc.it/bib/MARCgrep I posted MARCgrep.pl, a command line tool to analyze MARC records. Searches for filtering or counting can be based on tag, indicators, subfield and field value (or tag and positions for control fields 00x). The condition is powerful: tag, indicators, subfield

Re: MARCgrep.pl

2012-01-06 Thread Stefano Bargioni
And useful too) > I wished my own code looked this nice and clean! > > /Leif Andersson > Stockholm University Library > > ____ > Från: Stefano Bargioni [bargi...@pusc.it] > Skickat: den 13 december 2011 12:37 > Till: perl4lib > Ämn

Re: Turning MARC record object back into a string

2012-03-14 Thread Stefano Bargioni
If I'm not wrong, sprintf syntax is sprintf FORMAT, LIST See http://perldoc.perl.org/functions/sprintf.html for instance. So the statement my $new_marc = $bib_rec->as_usmarc(); seems the good way to accomplish your need. Bye. Stefano On Mar 12, 2012, at 14:49 , Anne Highsmith wrote: > I am runnin

Re: sending marc records into a script that uses MARC::Batch

2014-05-30 Thread Stefano Bargioni
If I'm not wrong, $batch->strict_off(); will avoid your loop to print warnings and stop processing records. HTH. Stefano On 29/mag/2014, at 23.13, John E Guillory wrote: > Thanks Timothy for your help. > > When processing about 5 million records I would expect some crazy records. > The new sc

Re: UNIMARC example file?

2014-12-11 Thread Stefano Bargioni
Maybe you can connect to Z39.50 servers in France [1] or Italy [2]. HTH. Stefano [1] http://m.abes.fr/Sudoc/Boite-a-outils-Sudoc-public/Z3950-Sudoc-public [2] http://www.iccu.sbn.it/opencms/opencms/it/archivionovita/2012/novita_0010.html On 11/dic/2014, at 11:08, Sergio Letuche wrote: > hello

Re: identify ISSN numbers in an mrc file

2016-11-02 Thread Stefano Bargioni
n allows to specify fields to print. You can chain more conditions using ./MARCGgrep.pl -o marc -e condition1 file.mrc | ./MARCGgrep.pl -e condition2 - KNOWN ISSUES Performance. Accepts and returns only UTF-8. Checks are case sensitive. AUTHOR