<?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>Tue, 05 Apr 2011 16:42:14 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</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>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached
Database Caching 1/16 queries in 0.003 seconds using memcached
Object Caching 525/553 objects using memcached
Content Delivery Network via Amazon Web Services: S3: unixsherpa-solutions.s3.amazonaws.com

Served from: solutions.unixsherpa.com @ 2012-02-08 13:28:23 -->
