<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Solutions Log &#187; text processing</title>
	<atom:link href="http://solutions.unixsherpa.com/tag/text-processing/feed/" rel="self" type="application/rss+xml" />
	<link>http://solutions.unixsherpa.com</link>
	<description>by Dan Reiland</description>
	<lastBuildDate>Fri, 16 Apr 2010 20:28:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Strip empty (null) lines from a file</title>
		<link>http://solutions.unixsherpa.com/2009/10/06/strip-empty-null-lines-from-a-file/</link>
		<comments>http://solutions.unixsherpa.com/2009/10/06/strip-empty-null-lines-from-a-file/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 18:12:06 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Apple OSX]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[sed]]></category>
		<category><![CDATA[text processing]]></category>

		<guid isPermaLink="false">http://solutions.unixsherpa.com/?p=203</guid>
		<description><![CDATA[sed meets the need; the recipe follows: sed '/^$/d' filename]]></description>
			<content:encoded><![CDATA[<p>sed meets the need; the recipe follows:</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'/^$/d'</span> filename</div></div>
]]></content:encoded>
			<wfw:commentRss>http://solutions.unixsherpa.com/2009/10/06/strip-empty-null-lines-from-a-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable Spotlight in Mac OS X 10.6 Snow Leopard</title>
		<link>http://solutions.unixsherpa.com/2009/10/01/disable-spotlight-in-mac-os-x-10-6-snow-leopard/</link>
		<comments>http://solutions.unixsherpa.com/2009/10/01/disable-spotlight-in-mac-os-x-10-6-snow-leopard/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 19:22:06 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Apple OSX]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[spotlight]]></category>
		<category><![CDATA[text processing]]></category>

		<guid isPermaLink="false">http://solutions.unixsherpa.com/?p=201</guid>
		<description><![CDATA[On occasion I need to process large volumes of text locally. Spotlight dutifully attempts to index this data, bringing my system to a crawl. Proactively disabling Spotlight is a sure way to avoid such issues and here is how to do it: Disabling Spotlight in Snow Leopard is pretty easy, launch the Terminal and type [...]]]></description>
			<content:encoded><![CDATA[<p>On occasion I need to process large volumes of text locally. Spotlight dutifully attempts to index this data, bringing my system to a crawl.</p>
<p>Proactively disabling Spotlight is a sure way to avoid such issues and here is how to do it:</p>
<p>Disabling Spotlight in Snow Leopard is pretty easy, launch the Terminal and type the following command:</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> mdutil <span style="color: #660033;">-a</span> <span style="color: #660033;">-i</span> off</div></div>
<p>This tells the Spotlight manager to disable all indexing on all volumes, the command will require your administrative password to execute.</p>
<p>Re-enabling Spotlight in Mac OS X 10.6 Snow Leopard is just as easy, just reverse the command to:</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> mdutil <span style="color: #660033;">-a</span> <span style="color: #660033;">-i</span> on</div></div>
<p>Now Spotlight indexing will be back on and work as usual.</p>
<p><strong>NOTE:</strong> mds and mdsworker will persist in the process table; this is normal.</p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.unixsherpa.com/2009/10/01/disable-spotlight-in-mac-os-x-10-6-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
