<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>LinuxQuestions.org - Blogs - JimRobinson</title>
		<link>http://www.linuxquestions.org/questions/blog/jimrobinson-421438/</link>
		<description>LinuxQuestions.org offers a free Linux forum where Linux newbies can ask questions and Linux experts can offer advice. Topics include security, installation, networking and much more.</description>
		<language>en</language>
		<lastBuildDate>Thu, 23 May 2013 11:02:03 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>https://lqo-thequestionsnetw.netdna-ssl.com/questions/images/misc/rss.jpg</url>
			<title>LinuxQuestions.org - Blogs - JimRobinson</title>
			<link>http://www.linuxquestions.org/questions/blog/jimrobinson-421438/</link>
		</image>
		<item>
			<title>Joining records using sed or awk</title>
			<link>http://www.linuxquestions.org/questions/blog/jimrobinson-421438/joining-records-using-sed-or-awk-2076/</link>
			<pubDate>Wed, 01 Jul 2009 12:34:33 GMT</pubDate>
			<description>I have a very large file, 9 million records, and there are sections in the file where I need to join records.  How can I get for example line number...</description>
			<content:encoded><![CDATA[<div>I have a very large file, 9 million records, and there are sections in the file where I need to join records.  How can I get for example line number 100,000 and join to it lines 100,001-100,050 using sed or awk?  The joins need to happen multiple times throughout the file.  I can get the line number for the first and last line I need in my join but am having difficulty figuring out how to reformat the file with the lines joined and the file saved with the one end-resulting line.<br />
<br />
Any suggestions?  Thanks!!</div>

]]></content:encoded>
			<dc:creator>JimRobinson</dc:creator>
			<guid isPermaLink="true">http://www.linuxquestions.org/questions/blog/jimrobinson-421438/joining-records-using-sed-or-awk-2076/</guid>
		</item>
	</channel>
</rss>
