<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/wordpress-mu-1.0" -->
<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/"
	>

<channel>
	<title>Ipsa scientia potestas est</title>
	<link>http://blogs.nonado.net/sith</link>
	<description>Please help I'm trapped inside my own head</description>
	<pubDate>Mon, 09 Jul 2007 15:39:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=wordpress-mu-1.0</generator>
	<language>en</language>
			<item>
		<title>Using Find &#38; Sed to replace a pattern in multiple files&#8230;</title>
		<link>http://blogs.nonado.net/sith/2007/07/09/using-find-sed-to-replace-a-pattern-in-multiple-files/</link>
		<comments>http://blogs.nonado.net/sith/2007/07/09/using-find-sed-to-replace-a-pattern-in-multiple-files/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 15:39:09 +0000</pubDate>
		<dc:creator>sith</dc:creator>
		
		<category>Personal Notes</category>

		<guid isPermaLink="false">http://blogs.nonado.net/sith/2007/07/09/using-find-sed-to-replace-a-pattern-in-multiple-files/</guid>
		<description><![CDATA[Of course this can be altered for use with any file type and regex.
    find . -type f -exec sed -i {} -e &#8217;s/pattern1/pattern2/g&#8217; \;
- D.

]]></description>
			<content:encoded><![CDATA[<p>Of course this can be altered for use with any file type and regex.</p>
<p><em>    find . -type f -exec sed -i {} -e &#8217;s/pattern1/pattern2/g&#8217; \;</em></p>
<p>- D.
</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.nonado.net/sith/2007/07/09/using-find-sed-to-replace-a-pattern-in-multiple-files/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Perl: Replacing every instance of a Regex found in multiple files&#8230;</title>
		<link>http://blogs.nonado.net/sith/2007/05/23/perl-replacing-every-instance-of-a-regex-found-in-multiple-files/</link>
		<comments>http://blogs.nonado.net/sith/2007/05/23/perl-replacing-every-instance-of-a-regex-found-in-multiple-files/#comments</comments>
		<pubDate>Wed, 23 May 2007 14:27:30 +0000</pubDate>
		<dc:creator>sith</dc:creator>
		
		<category>Technical</category>

		<guid isPermaLink="false">http://blogs.nonado.net/sith/2007/05/23/perl-replacing-every-instance-of-a-regex-found-in-multiple-files/</guid>
		<description><![CDATA[Simply use the following command;
perl -pi~ -e &#8217;s/regexp1/regexp2/&#8217; files
Where;

regexp1 - Regular expression you are seeking.  
regexp2 - It&#8217;s replacement.

files -  The files you wish this replacement to occur.

]]></description>
			<content:encoded><![CDATA[<p>Simply use the following command;</p>
<p><tt>perl -pi~ -e &#8217;s/regexp1/regexp2/&#8217; <em>files</em></tt></p>
<p>Where;</p>
<ol>
<li><tt>regexp1 - Regular expression you are seeking.  </tt></li>
<li><tt>regexp2 - It&#8217;s replacement.<br />
</tt></li>
<li><tt>files -</tt>  <tt>The files you wish this replacement to occur.</tt></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blogs.nonado.net/sith/2007/05/23/perl-replacing-every-instance-of-a-regex-found-in-multiple-files/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Vim: Counting the number of matches&#8230;</title>
		<link>http://blogs.nonado.net/sith/2007/05/23/vim-counting-the-number-of-matches/</link>
		<comments>http://blogs.nonado.net/sith/2007/05/23/vim-counting-the-number-of-matches/#comments</comments>
		<pubDate>Wed, 23 May 2007 14:21:38 +0000</pubDate>
		<dc:creator>sith</dc:creator>
		
		<category>Technical</category>

		<guid isPermaLink="false">http://blogs.nonado.net/sith/2007/05/23/vim-counting-the-number-of-matches/</guid>
		<description><![CDATA[A useful trick in Vim to return the number of matched expressions in a file;
let x=0 &#124; g/regexp/let x=x+1
echo x 
where regexp obviously is the  regular expression (pattern) you wish to  count.

]]></description>
			<content:encoded><![CDATA[<p>A useful trick in Vim to return the number of matched expressions in a file;</p>
<p><tt>let x=0 | g/regexp/let x=x+1<br />
echo x </tt></p>
<p>where <tt>regexp</tt> obviously is the  regular expression (pattern) you wish to  count.
</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.nonado.net/sith/2007/05/23/vim-counting-the-number-of-matches/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Protected: A ripple in the pond&#8230;.</title>
		<link>http://blogs.nonado.net/sith/2006/05/10/a-ripple-in-the-pond/</link>
		<comments>http://blogs.nonado.net/sith/2006/05/10/a-ripple-in-the-pond/#comments</comments>
		<pubDate>Wed, 10 May 2006 11:27:06 +0000</pubDate>
		<dc:creator>sith</dc:creator>
		
		<category>Personal Notes</category>

		<guid isPermaLink="false">http://blogs.nonado.net/sith/2006/05/10/a-ripple-in-the-pond/</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.]]></description>
			<content:encoded><![CDATA[<form action="http://blogs.nonado.net/sith/wp-pass.php" method="post">
<p>This post is password protected. To view it please enter your password below:</p>
<p><label>Password: <input name="post_password" type="password" size="20" /></label> <input type="submit" name="Submit" value="Submit" /></p>
</form>
]]></content:encoded>
			<wfw:commentRss>http://blogs.nonado.net/sith/2006/05/10/a-ripple-in-the-pond/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Protected: Stars shining down on me from afar</title>
		<link>http://blogs.nonado.net/sith/2006/02/09/stars-shining-down-on-me-from-afar/</link>
		<comments>http://blogs.nonado.net/sith/2006/02/09/stars-shining-down-on-me-from-afar/#comments</comments>
		<pubDate>Thu, 09 Feb 2006 23:24:27 +0000</pubDate>
		<dc:creator>sith</dc:creator>
		
		<category>Personal Notes</category>

		<guid isPermaLink="false">http://blogs.nonado.net/sith/2006/02/09/stars-shining-down-on-me-from-afar/</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.]]></description>
			<content:encoded><![CDATA[<form action="http://blogs.nonado.net/sith/wp-pass.php" method="post">
<p>This post is password protected. To view it please enter your password below:</p>
<p><label>Password: <input name="post_password" type="password" size="20" /></label> <input type="submit" name="Submit" value="Submit" /></p>
</form>
]]></content:encoded>
			<wfw:commentRss>http://blogs.nonado.net/sith/2006/02/09/stars-shining-down-on-me-from-afar/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Protected: The Clock has stopped ticking&#8230;</title>
		<link>http://blogs.nonado.net/sith/2006/01/24/the-clock-has-stopped-ticking/</link>
		<comments>http://blogs.nonado.net/sith/2006/01/24/the-clock-has-stopped-ticking/#comments</comments>
		<pubDate>Tue, 24 Jan 2006 23:03:45 +0000</pubDate>
		<dc:creator>sith</dc:creator>
		
		<category>Personal Notes</category>

		<guid isPermaLink="false">http://blogs.nonado.net/sith/2006/01/24/the-clock-has-stopped-ticking/</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.]]></description>
			<content:encoded><![CDATA[<form action="http://blogs.nonado.net/sith/wp-pass.php" method="post">
<p>This post is password protected. To view it please enter your password below:</p>
<p><label>Password: <input name="post_password" type="password" size="20" /></label> <input type="submit" name="Submit" value="Submit" /></p>
</form>
]]></content:encoded>
			<wfw:commentRss>http://blogs.nonado.net/sith/2006/01/24/the-clock-has-stopped-ticking/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Protected: Who Cares?</title>
		<link>http://blogs.nonado.net/sith/2005/09/23/aspirat-primo-fortuna-labori/</link>
		<comments>http://blogs.nonado.net/sith/2005/09/23/aspirat-primo-fortuna-labori/#comments</comments>
		<pubDate>Fri, 23 Sep 2005 13:48:37 +0000</pubDate>
		<dc:creator>sith</dc:creator>
		
		<category>Personal Notes</category>

		<guid isPermaLink="false">http://blogs.nonado.net/sith/2005/09/23/aspirat-primo-fortuna-labori/</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.]]></description>
			<content:encoded><![CDATA[<form action="http://blogs.nonado.net/sith/wp-pass.php" method="post">
<p>This post is password protected. To view it please enter your password below:</p>
<p><label>Password: <input name="post_password" type="password" size="20" /></label> <input type="submit" name="Submit" value="Submit" /></p>
</form>
]]></content:encoded>
			<wfw:commentRss>http://blogs.nonado.net/sith/2005/09/23/aspirat-primo-fortuna-labori/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
