I have become recently unpleasantly aquainted with the world of Marc
that is not Marc21, but is ISO 2709.
What'll it do on ISO 2709? I might be able to dig up an example. I
wonder if it'll claim it's Marc21 (not), or if it's Marc21
"Non-confirming" (no, it's not quite that either. It's ISO-2709 MARC
that's not Marc21).
If it just doens't know anything about it and says 'data', that's just
fine, if it knows about Marc21 but not non-Marc21 ISO 2709.
On 5/23/2012 3:48 PM, Ford, Kevin wrote:
>> Does it work for bulk files?
> -- It passed on a file containing 215 MARC Bibs and on a file containing 2,574 MARC Auth records. Don't know if you consider these "bulk," but there is more than 1 record in each file (caveat: "file" stops after evaluating the first line, so of the 2,574 Auth records, the last 2,573 could be invalid). It failed on a file containing all of LC Classification. I need to figure out why.
>
>> Kevin, do you have examples of the output?
> -- I received "MARC21 Bibliography" and "MARC21 Authority" respectively. In theory, if Leader 20-23 are not "4500" then "(non-conforming)" should be appended to the identification. If requested, the mimetype - application/marc - should also be outputted.
>
> Rgds,
>
> Kevin
>
>
>
>
>> -----Original Message-----
>> From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of
>> Ross Singer
>> Sent: Wednesday, May 23, 2012 3:29 PM
>> To: [log in to unmask]
>> Subject: Re: [CODE4LIB] MARC Magic for file
>>
>> Wow, this is pretty cool.
>>
>> Kevin, do you have examples of the output?
>>
>> Does it work for bulk files?
>>
>> I mean, I could just try this on my Ubuntu machine, but it's all the
>> way downstairs...
>>
>> -Ross.
>>
>> On May 23, 2012, at 3:14 PM, Ford, Kevin wrote:
>>
>>> I finally had occasion today (read: remembered) to see if the *nix
>> "file" command would recognize a MARC record file. I haven't tested
>> extensively, but it did identify the file as MARC21 Bibliographic
>> record. It also correctly identified a MARC21 Authority Record. I'm
>> running the most recent version of Ubuntu (12.04 - precise pangolin).
>>>
>>> I write because the inclusion of a "file" MARC21 specification rule
>> in the magic.db stems from a Code4lib exchange that started in March
>> 2011 [1] (it ends in April if you want to go crawling for the entire
>> thread).
>>>
>>> Rgds,
>>>
>>> Kevin
>>>
>>> [1]
>>> https://listserv.nd.edu/cgi-
>> bin/wa?A2=ind1103&L=CODE4LIB&T=0&F=&S=&P=1
>>> 12728
>>>
>>> --
>>> Kevin Ford
>>> Network Development and MARC Standards Office Library of Congress
>>> Washington, DC
>
|