<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.code4lib.org/index.php?action=history&amp;feed=atom&amp;title=Ruby-marc</id>
		<title>Ruby-marc - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.code4lib.org/index.php?action=history&amp;feed=atom&amp;title=Ruby-marc"/>
		<link rel="alternate" type="text/html" href="https://wiki.code4lib.org/index.php?title=Ruby-marc&amp;action=history"/>
		<updated>2026-05-16T12:42:30Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>https://wiki.code4lib.org/index.php?title=Ruby-marc&amp;diff=2591&amp;oldid=prev</id>
		<title>Bess at 03:05, 21 March 2009</title>
		<link rel="alternate" type="text/html" href="https://wiki.code4lib.org/index.php?title=Ruby-marc&amp;diff=2591&amp;oldid=prev"/>
				<updated>2009-03-21T03:05:46Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 03:05, 21 March 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Rdocs are here: [http://marc.rubyforge.org http://marc.rubyforge.org]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Rdocs are here: [http://marc.rubyforge.org http://marc.rubyforge.org]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;It can be &lt;/del&gt;useful &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;to play around with a library in irb before &lt;/del&gt;you &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;try &lt;/del&gt;to &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;write a real app &lt;/del&gt;with &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;it. Here are some irb examples&lt;/del&gt;. If you need a file of MARC records to work with, you can download one from here: [http://www.archive.org/search.php?query=mediatype%3A%22data%22%20MARC http://www.archive.org/search.php?query=mediatype%3A%22data%22%20MARC].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;These are some recipes for &lt;/ins&gt;useful &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;things &lt;/ins&gt;you &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;might want &lt;/ins&gt;to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;do &lt;/ins&gt;with &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ruby-marc&lt;/ins&gt;. If you need a file of MARC records to work with, you can download one from here: [http://www.archive.org/search.php?query=mediatype%3A%22data%22%20MARC http://www.archive.org/search.php?query=mediatype%3A%22data%22%20MARC].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Recipe: read in a large file of marc records, pull out one of them and write it to a separate file ====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Recipe: read in a large file of marc records, pull out one of them and write it to a separate file ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;paz:blacklight eos8d$ irb&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;irb(main):001:0&amp;gt; &lt;/del&gt;require 'rubygems'&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;require 'rubygems'&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;=&amp;gt; true&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;require 'marc'&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;irb(main):002:0&amp;gt; &lt;/del&gt;require 'marc'&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;=&amp;gt; true&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;reader = MARC::Reader.new('/usr/local/projects/bl-demo/data/lc_records.utf8.mrc')&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;irb(main):012:0&amp;gt; &lt;/del&gt;reader = MARC::Reader.new('/usr/local/projects/bl-demo/data/lc_records.utf8.mrc')&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;record = reader.first&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;=&amp;gt; #&amp;lt;MARC::Reader:0x123dec0 @handle=#&amp;lt;File:/usr/local/projects/bl-demo/data/lc_records.utf8.mrc&amp;gt;&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;writer = MARC::Writer.new('/tmp/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;file2&lt;/ins&gt;')&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;irb(main):014:0&amp;gt; &lt;/del&gt;record = reader.first&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;writer.write(record)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;=&amp;gt; #&amp;lt;MARC::Record:0x1236c10 @leader=&amp;quot;00990cam a22002894a 4500&amp;quot;, @fields=[#&amp;lt;MARC::ControlField:0x1236594 @tag=&amp;quot;001&amp;quot;, @value=&amp;quot;&amp;#160;  00008195 &amp;quot;&amp;gt;, #&amp;lt;MARC::ControlField:0x12364cc @tag=&amp;quot;003&amp;quot;, @value=&amp;quot;DLC&amp;quot;&amp;gt;, #&amp;lt;MARC::ControlField:0x1236404 @tag=&amp;quot;005&amp;quot;, @value=&amp;quot;20090126093013.0&amp;quot;&amp;gt;, #&amp;lt;MARC::ControlField:0x123633c @tag=&amp;quot;008&amp;quot;, @value=&amp;quot;000128s2000&amp;#160; &amp;#160; azuab&amp;#160; &amp;#160; b&amp;#160;  s000 0beng&amp;#160; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1236274 @tag=&amp;quot;010&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x12360bc @value=&amp;quot;&amp;#160;  00008195 &amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;], @indicator2=&amp;quot; &amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1236058 @tag=&amp;quot;020&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x1235eb4 @value=&amp;quot;0816520682 (cloth : acid-free paper)&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;], @indicator2=&amp;quot; &amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1235e50 @tag=&amp;quot;020&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x1235cac @value=&amp;quot;0816520690 (pbk. : acid-free paper)&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;], @indicator2=&amp;quot; &amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1235c48 @tag=&amp;quot;040&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x1235a90 @value=&amp;quot;DLC&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1235a54 @value=&amp;quot;DLC&amp;quot;, @code=&amp;quot;c&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1235a18 @value=&amp;quot;DLC&amp;quot;, @code=&amp;quot;d&amp;quot;&amp;gt;], @indicator2=&amp;quot; &amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x12359b4 @tag=&amp;quot;042&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x1235824 @value=&amp;quot;pcc&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;], @indicator2=&amp;quot; &amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x12357c0 @tag=&amp;quot;043&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x123561c @value=&amp;quot;n-us-ct&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x12355e0 @value=&amp;quot;n-us---&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;], @indicator2=&amp;quot; &amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x123557c @tag=&amp;quot;050&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x12353d8 @value=&amp;quot;E99.M83&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x123539c @value=&amp;quot;T364 2000&amp;quot;, @code=&amp;quot;b&amp;quot;&amp;gt;], @indicator2=&amp;quot;0&amp;quot;, @indicator1=&amp;quot;0&amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1235338 @tag=&amp;quot;082&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x123516c @value=&amp;quot;974.7/004973&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1235130 @value=&amp;quot;B&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x12350f4 @value=&amp;quot;21&amp;quot;, @code=&amp;quot;2&amp;quot;&amp;gt;], @indicator2=&amp;quot;0&amp;quot;, @indicator1=&amp;quot;0&amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1235090 @tag=&amp;quot;100&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x1234ed8 @value=&amp;quot;Zobel, Melissa Tantaquidgeon,&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1234e9c @value=&amp;quot;1960-&amp;quot;, @code=&amp;quot;d&amp;quot;&amp;gt;], @indicator2=&amp;quot; &amp;quot;, @indicator1=&amp;quot;1&amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1234e38 @tag=&amp;quot;245&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x1234c6c @value=&amp;quot;Medicine trail :&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1234c1c @value=&amp;quot;the life and lessons of Gladys Tantaquidgeon /&amp;quot;, @code=&amp;quot;b&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1234bcc @value=&amp;quot;Melissa Jayne Fawcett.&amp;quot;, @code=&amp;quot;c&amp;quot;&amp;gt;], @indicator2=&amp;quot;0&amp;quot;, @indicator1=&amp;quot;1&amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1234b68 @tag=&amp;quot;260&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x12349b0 @value=&amp;quot;Tucson :&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1234960 @value=&amp;quot;University of Arizona Press,&amp;quot;, @code=&amp;quot;b&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1234924 @value=&amp;quot;c2000.&amp;quot;, @code=&amp;quot;c&amp;quot;&amp;gt;], @indicator2=&amp;quot; &amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x12348c0 @tag=&amp;quot;300&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x12346f4 @value=&amp;quot;xvi, 177 p. :&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x12346a4 @value=&amp;quot;ill., map ;&amp;quot;, @code=&amp;quot;b&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1234668 @value=&amp;quot;21 cm.&amp;quot;, @code=&amp;quot;c&amp;quot;&amp;gt;], @indicator2=&amp;quot; &amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1234604 @tag=&amp;quot;504&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x1234460 @value=&amp;quot;Includes bibliographical references (p. 177).&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;], @indicator2=&amp;quot; &amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x12343fc @tag=&amp;quot;600&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x1234258 @value=&amp;quot;Tantaquidgeon, Gladys.&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;], @indicator2=&amp;quot;0&amp;quot;, @indicator1=&amp;quot;1&amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x12341f4 @tag=&amp;quot;650&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x123403c @value=&amp;quot;Mohegan Indians&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1234000 @value=&amp;quot;Biography.&amp;quot;, @code=&amp;quot;v&amp;quot;&amp;gt;], @indicator2=&amp;quot;0&amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1233f9c @tag=&amp;quot;650&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x1233de4 @value=&amp;quot;Indian women shamans&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1233da8 @value=&amp;quot;Biography.&amp;quot;, @code=&amp;quot;v&amp;quot;&amp;gt;], @indicator2=&amp;quot;0&amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1233d44 @tag=&amp;quot;650&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x1233b8c @value=&amp;quot;Mohegan Indians&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1233b50 @value=&amp;quot;Medicine.&amp;quot;, @code=&amp;quot;x&amp;quot;&amp;gt;], @indicator2=&amp;quot;0&amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1233ad8 @tag=&amp;quot;650&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x1233920 @value=&amp;quot;Delaware Indians&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x12338e4 @value=&amp;quot;Medicine.&amp;quot;, @code=&amp;quot;x&amp;quot;&amp;gt;], @indicator2=&amp;quot;0&amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;]&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;writer.close&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;irb(main):015:0&amp;gt; &lt;/del&gt;writer = MARC::Writer.new('/tmp/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;file&lt;/del&gt;')&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;=&amp;gt; #&amp;lt;MARC::Writer:0x122fb68 @fh=#&amp;lt;File:/tmp/file&amp;gt;&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;irb(main):016:0&amp;gt; &lt;/del&gt;writer.write(record)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;=&amp;gt; 990&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;irb(main):018:0&amp;gt; &lt;/del&gt;writer.close&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;=&amp;gt; nil&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;irb(main):003:0&amp;gt; exit&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;paz:blacklight eos8d$ cat /tmp/file &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;00990cam a22002894a 4500001001300000003000400013005001700017008004100034010001700075020004100092020004000133040001800173042000800191043002100199050002300220082002400243100004100267245009300308260005100401300003900452504005000491600002700541650003200568650003700600650003100637650003200668&amp;#160;  00008195 DLC20090126093013.0000128s2000&amp;#160; &amp;#160; azuab&amp;#160; &amp;#160; b&amp;#160;  s000 0beng&amp;#160; &amp;#160; a&amp;#160;  00008195&amp;#160;  a0816520682 (cloth : acid-free paper)&amp;#160; a0816520690 (pbk. : acid-free paper)&amp;#160; aDLCcDLCdDLC&amp;#160; apcc&amp;#160; an-us-ctan-us---00aE99.M83bT364 200000a974.7/004973aB2211 aZobel, Melissa Tantaquidgeon,d1960-10aMedicine trail :bthe life and lessons of Gladys Tantaquidgeon /cMelissa Jayne Fawcett.&amp;#160; aTucson :bUniversity of Arizona Press,cc2000.&amp;#160; axvi, 177 p. :bill., map ;c21 cm.&amp;#160; aIncludes bibliographical references (p. 177).10aTantaquidgeon, Gladys. 0aMohegan IndiansvBiography. 0aIndian women shamansvBiography. 0aMohegan IndiansxMedicine. 0aDelaware IndiansxMedicine.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bess</name></author>	</entry>

	<entry>
		<id>https://wiki.code4lib.org/index.php?title=Ruby-marc&amp;diff=2590&amp;oldid=prev</id>
		<title>Bess at 03:01, 21 March 2009</title>
		<link rel="alternate" type="text/html" href="https://wiki.code4lib.org/index.php?title=Ruby-marc&amp;diff=2590&amp;oldid=prev"/>
				<updated>2009-03-21T03:01:00Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 03:01, 21 March 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l22&quot; &gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;irb(main):003:0&amp;gt; exit&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;irb(main):003:0&amp;gt; exit&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;paz:blacklight eos8d$ cat /tmp/file &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;paz:blacklight eos8d$ cat /tmp/file &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;00990cam a22002894a 4500001001300000003000400013005001700017008004100034010001700075020004100092020004000133040001800173042000800191043002100199050002300220082002400243100004100267245009300308260005100401300003900452504005000491600002700541650003200568650003700600650003100637650003200668&amp;#160;  00008195 DLC20090126093013.0000128s2000&amp;#160; &amp;#160; azuab&amp;#160; &amp;#160; b&amp;#160;  s000 0beng&amp;#160; &amp;#160; a&amp;#160;  00008195&amp;#160;  a0816520682 (cloth : acid-free paper)&amp;#160; a0816520690 (pbk. : acid-free paper)&amp;#160; aDLCcDLCdDLC&amp;#160; apcc&amp;#160; an-us-ctan-us---00aE99.M83bT364 200000a974.7/004973aB2211 aZobel, Melissa Tantaquidgeon,d1960-10aMedicine trail :bthe life and lessons of Gladys Tantaquidgeon /cMelissa Jayne Fawcett.&amp;#160; aTucson :bUniversity of Arizona Press,cc2000.&amp;#160; axvi, 177 p. :bill., map ;c21 cm.&amp;#160; aIncludes bibliographical references (p. 177).10aTantaquidgeon, Gladys. 0aMohegan IndiansvBiography. 0aIndian women shamansvBiography. 0aMohegan IndiansxMedicine. 0aDelaware IndiansxMedicine.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;paz:blacklight &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;00990cam a22002894a 4500001001300000003000400013005001700017008004100034010001700075020004100092020004000133040001800173042000800191043002100199050002300220082002400243100004100267245009300308260005100401300003900452504005000491600002700541650003200568650003700600650003100637650003200668&amp;#160;  00008195 DLC20090126093013.0000128s2000&amp;#160; &amp;#160; azuab&amp;#160; &amp;#160; b&amp;#160;  s000 0beng&amp;#160; &amp;#160; a&amp;#160;  00008195&amp;#160;  a0816520682 (cloth : acid-free paper)&amp;#160; a0816520690 (pbk. : acid-free paper)&amp;#160; aDLCcDLCdDLC&amp;#160; apcc&amp;#160; an-us-ctan-us---00aE99.M83bT364 200000a974.7/004973aB2211 aZobel, Melissa Tantaquidgeon,d1960-10aMedicine trail :bthe life and lessons of Gladys Tantaquidgeon /cMelissa Jayne Fawcett.&amp;#160; aTucson :bUniversity of Arizona Press,cc2000.&amp;#160; axvi, 177 p. :bill., map ;c21 cm.&amp;#160; aIncludes bibliographical references (p. 177).10aTantaquidgeon, Gladys. 0aMohegan IndiansvBiography. 0aIndian women shamansvBiography. 0aMohegan IndiansxMedicine. 0aDelaware IndiansxMedicine.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bess</name></author>	</entry>

	<entry>
		<id>https://wiki.code4lib.org/index.php?title=Ruby-marc&amp;diff=2589&amp;oldid=prev</id>
		<title>Bess at 03:00, 21 March 2009</title>
		<link rel="alternate" type="text/html" href="https://wiki.code4lib.org/index.php?title=Ruby-marc&amp;diff=2589&amp;oldid=prev"/>
				<updated>2009-03-21T03:00:20Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 03:00, 21 March 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l20&quot; &gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;irb(main):018:0&amp;gt; writer.close&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;irb(main):018:0&amp;gt; writer.close&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=&amp;gt; nil&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=&amp;gt; nil&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;irb(main):003:0&amp;gt; exit&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;paz:blacklight eos8d$ cat /tmp/file &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;00990cam a22002894a 4500001001300000003000400013005001700017008004100034010001700075020004100092020004000133040001800173042000800191043002100199050002300220082002400243100004100267245009300308260005100401300003900452504005000491600002700541650003200568650003700600650003100637650003200668&amp;#160;  00008195 DLC20090126093013.0000128s2000&amp;#160; &amp;#160; azuab&amp;#160; &amp;#160; b&amp;#160;  s000 0beng&amp;#160; &amp;#160; a&amp;#160;  00008195&amp;#160;  a0816520682 (cloth : acid-free paper)&amp;#160; a0816520690 (pbk. : acid-free paper)&amp;#160; aDLCcDLCdDLC&amp;#160; apcc&amp;#160; an-us-ctan-us---00aE99.M83bT364 200000a974.7/004973aB2211 aZobel, Melissa Tantaquidgeon,d1960-10aMedicine trail :bthe life and lessons of Gladys Tantaquidgeon /cMelissa Jayne Fawcett.&amp;#160; aTucson :bUniversity of Arizona Press,cc2000.&amp;#160; axvi, 177 p. :bill., map ;c21 cm.&amp;#160; aIncludes bibliographical references (p. 177).10aTantaquidgeon, Gladys. 0aMohegan IndiansvBiography. 0aIndian women shamansvBiography. 0aMohegan IndiansxMedicine. 0aDelaware IndiansxMedicine.paz:blacklight &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bess</name></author>	</entry>

	<entry>
		<id>https://wiki.code4lib.org/index.php?title=Ruby-marc&amp;diff=2588&amp;oldid=prev</id>
		<title>Bess at 02:59, 21 March 2009</title>
		<link rel="alternate" type="text/html" href="https://wiki.code4lib.org/index.php?title=Ruby-marc&amp;diff=2588&amp;oldid=prev"/>
				<updated>2009-03-21T02:59:33Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 02:59, 21 March 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot; &gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It can be useful to play around with a library in irb before you try to write a real app with it. Here are some irb examples. If you need a file of MARC records to work with, you can download one from here: [http://www.archive.org/search.php?query=mediatype%3A%22data%22%20MARC http://www.archive.org/search.php?query=mediatype%3A%22data%22%20MARC].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It can be useful to play around with a library in irb before you try to write a real app with it. Here are some irb examples. If you need a file of MARC records to work with, you can download one from here: [http://www.archive.org/search.php?query=mediatype%3A%22data%22%20MARC http://www.archive.org/search.php?query=mediatype%3A%22data%22%20MARC].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==== Recipe: read in a large file of marc records, pull out one of them and write it to a separate file ====&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;paz:blacklight eos8d$ irb&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;irb(main):001:0&amp;gt; require 'rubygems'&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&amp;gt; true&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;irb(main):002:0&amp;gt; require 'marc'&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&amp;gt; true&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;irb(main):012:0&amp;gt; reader = MARC::Reader.new('/usr/local/projects/bl-demo/data/lc_records.utf8.mrc')&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&amp;gt; #&amp;lt;MARC::Reader:0x123dec0 @handle=#&amp;lt;File:/usr/local/projects/bl-demo/data/lc_records.utf8.mrc&amp;gt;&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;irb(main):014:0&amp;gt; record = reader.first&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&amp;gt; #&amp;lt;MARC::Record:0x1236c10 @leader=&amp;quot;00990cam a22002894a 4500&amp;quot;, @fields=[#&amp;lt;MARC::ControlField:0x1236594 @tag=&amp;quot;001&amp;quot;, @value=&amp;quot;&amp;#160;  00008195 &amp;quot;&amp;gt;, #&amp;lt;MARC::ControlField:0x12364cc @tag=&amp;quot;003&amp;quot;, @value=&amp;quot;DLC&amp;quot;&amp;gt;, #&amp;lt;MARC::ControlField:0x1236404 @tag=&amp;quot;005&amp;quot;, @value=&amp;quot;20090126093013.0&amp;quot;&amp;gt;, #&amp;lt;MARC::ControlField:0x123633c @tag=&amp;quot;008&amp;quot;, @value=&amp;quot;000128s2000&amp;#160; &amp;#160; azuab&amp;#160; &amp;#160; b&amp;#160;  s000 0beng&amp;#160; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1236274 @tag=&amp;quot;010&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x12360bc @value=&amp;quot;&amp;#160;  00008195 &amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;], @indicator2=&amp;quot; &amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1236058 @tag=&amp;quot;020&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x1235eb4 @value=&amp;quot;0816520682 (cloth : acid-free paper)&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;], @indicator2=&amp;quot; &amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1235e50 @tag=&amp;quot;020&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x1235cac @value=&amp;quot;0816520690 (pbk. : acid-free paper)&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;], @indicator2=&amp;quot; &amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1235c48 @tag=&amp;quot;040&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x1235a90 @value=&amp;quot;DLC&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1235a54 @value=&amp;quot;DLC&amp;quot;, @code=&amp;quot;c&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1235a18 @value=&amp;quot;DLC&amp;quot;, @code=&amp;quot;d&amp;quot;&amp;gt;], @indicator2=&amp;quot; &amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x12359b4 @tag=&amp;quot;042&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x1235824 @value=&amp;quot;pcc&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;], @indicator2=&amp;quot; &amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x12357c0 @tag=&amp;quot;043&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x123561c @value=&amp;quot;n-us-ct&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x12355e0 @value=&amp;quot;n-us---&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;], @indicator2=&amp;quot; &amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x123557c @tag=&amp;quot;050&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x12353d8 @value=&amp;quot;E99.M83&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x123539c @value=&amp;quot;T364 2000&amp;quot;, @code=&amp;quot;b&amp;quot;&amp;gt;], @indicator2=&amp;quot;0&amp;quot;, @indicator1=&amp;quot;0&amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1235338 @tag=&amp;quot;082&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x123516c @value=&amp;quot;974.7/004973&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1235130 @value=&amp;quot;B&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x12350f4 @value=&amp;quot;21&amp;quot;, @code=&amp;quot;2&amp;quot;&amp;gt;], @indicator2=&amp;quot;0&amp;quot;, @indicator1=&amp;quot;0&amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1235090 @tag=&amp;quot;100&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x1234ed8 @value=&amp;quot;Zobel, Melissa Tantaquidgeon,&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1234e9c @value=&amp;quot;1960-&amp;quot;, @code=&amp;quot;d&amp;quot;&amp;gt;], @indicator2=&amp;quot; &amp;quot;, @indicator1=&amp;quot;1&amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1234e38 @tag=&amp;quot;245&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x1234c6c @value=&amp;quot;Medicine trail :&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1234c1c @value=&amp;quot;the life and lessons of Gladys Tantaquidgeon /&amp;quot;, @code=&amp;quot;b&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1234bcc @value=&amp;quot;Melissa Jayne Fawcett.&amp;quot;, @code=&amp;quot;c&amp;quot;&amp;gt;], @indicator2=&amp;quot;0&amp;quot;, @indicator1=&amp;quot;1&amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1234b68 @tag=&amp;quot;260&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x12349b0 @value=&amp;quot;Tucson :&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1234960 @value=&amp;quot;University of Arizona Press,&amp;quot;, @code=&amp;quot;b&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1234924 @value=&amp;quot;c2000.&amp;quot;, @code=&amp;quot;c&amp;quot;&amp;gt;], @indicator2=&amp;quot; &amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x12348c0 @tag=&amp;quot;300&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x12346f4 @value=&amp;quot;xvi, 177 p. :&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x12346a4 @value=&amp;quot;ill., map ;&amp;quot;, @code=&amp;quot;b&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1234668 @value=&amp;quot;21 cm.&amp;quot;, @code=&amp;quot;c&amp;quot;&amp;gt;], @indicator2=&amp;quot; &amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1234604 @tag=&amp;quot;504&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x1234460 @value=&amp;quot;Includes bibliographical references (p. 177).&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;], @indicator2=&amp;quot; &amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x12343fc @tag=&amp;quot;600&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x1234258 @value=&amp;quot;Tantaquidgeon, Gladys.&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;], @indicator2=&amp;quot;0&amp;quot;, @indicator1=&amp;quot;1&amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x12341f4 @tag=&amp;quot;650&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x123403c @value=&amp;quot;Mohegan Indians&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1234000 @value=&amp;quot;Biography.&amp;quot;, @code=&amp;quot;v&amp;quot;&amp;gt;], @indicator2=&amp;quot;0&amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1233f9c @tag=&amp;quot;650&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x1233de4 @value=&amp;quot;Indian women shamans&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1233da8 @value=&amp;quot;Biography.&amp;quot;, @code=&amp;quot;v&amp;quot;&amp;gt;], @indicator2=&amp;quot;0&amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1233d44 @tag=&amp;quot;650&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x1233b8c @value=&amp;quot;Mohegan Indians&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x1233b50 @value=&amp;quot;Medicine.&amp;quot;, @code=&amp;quot;x&amp;quot;&amp;gt;], @indicator2=&amp;quot;0&amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;, #&amp;lt;MARC::DataField:0x1233ad8 @tag=&amp;quot;650&amp;quot;, @subfields=[#&amp;lt;MARC::Subfield:0x1233920 @value=&amp;quot;Delaware Indians&amp;quot;, @code=&amp;quot;a&amp;quot;&amp;gt;, #&amp;lt;MARC::Subfield:0x12338e4 @value=&amp;quot;Medicine.&amp;quot;, @code=&amp;quot;x&amp;quot;&amp;gt;], @indicator2=&amp;quot;0&amp;quot;, @indicator1=&amp;quot; &amp;quot;&amp;gt;]&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;irb(main):015:0&amp;gt; writer = MARC::Writer.new('/tmp/file')&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&amp;gt; #&amp;lt;MARC::Writer:0x122fb68 @fh=#&amp;lt;File:/tmp/file&amp;gt;&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;irb(main):016:0&amp;gt; writer.write(record)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&amp;gt; 990&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;irb(main):018:0&amp;gt; writer.close&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&amp;gt; nil&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bess</name></author>	</entry>

	<entry>
		<id>https://wiki.code4lib.org/index.php?title=Ruby-marc&amp;diff=2587&amp;oldid=prev</id>
		<title>Bess: New page: Rdocs are here: [http://marc.rubyforge.org http://marc.rubyforge.org]  It can be useful to play around with a library in irb before you try to write a real app with it. Here are some irb e...</title>
		<link rel="alternate" type="text/html" href="https://wiki.code4lib.org/index.php?title=Ruby-marc&amp;diff=2587&amp;oldid=prev"/>
				<updated>2009-03-21T02:53:32Z</updated>
		
		<summary type="html">&lt;p&gt;New page: Rdocs are here: [http://marc.rubyforge.org http://marc.rubyforge.org]  It can be useful to play around with a library in irb before you try to write a real app with it. Here are some irb e...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Rdocs are here: [http://marc.rubyforge.org http://marc.rubyforge.org]&lt;br /&gt;
&lt;br /&gt;
It can be useful to play around with a library in irb before you try to write a real app with it. Here are some irb examples. If you need a file of MARC records to work with, you can download one from here: [http://www.archive.org/search.php?query=mediatype%3A%22data%22%20MARC http://www.archive.org/search.php?query=mediatype%3A%22data%22%20MARC].&lt;/div&gt;</summary>
		<author><name>Bess</name></author>	</entry>

	</feed>