- getmarc.pl Extracts BLOB data from Voyager. Pick one of the three data types, and specify the range of records to be retrieved. Output is human-formatted, unless you specify raw, and it goes to STDOUT (screen).marccount.pl Count the MARC records in file filename. Output is to STDOUT (screen).marcedit.pl Add, remove, and/or edit fields in MARC records. Process inputfile to create outputfile. marcedit requires a marcedit.ini file (see below) in the local directory so that it knows what to do. You do not need to be a programmer to use marcedit, if the currently available functions fill your needs. Merely set up the directives in the .ini file, and run marcedit.marcedit.ini This is the initialization file for marcedit.pl (see above). You can create individualized copies of this file in different directories to meet your needs.marcread.pl Read the MARC file indicated by filename. Output is human-formatted and goes to STDOUT (screen)splitmarc.pl Splits file specified by infilename into chunks containing the number of lines specified by chunksize. An incrementing counter is appended to outfilename for each chunk so created. Example: splitmarc.pl abcin.this abcthis.out 100 This would create N files abcthis.out.1, abcthis.out.2, etc., each 100 lines in size, as many as necessary to divide abcin.this as specified
Wednesday, May 26, 2004
Roy Zimmer has created and made available some Perl tools for working with MARC records. Thanks Roy.
at 12:08 PM