<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.1" -->
<rss version="0.92">
<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>
	<lastBuildDate>Mon, 09 Jul 2007 15:39:09 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Using Find &amp; Sed to replace a pattern in multiple files&#8230;</title>
		<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>
		<link>http://blogs.nonado.net/sith/2007/07/09/using-find-sed-to-replace-a-pattern-in-multiple-files/</link>
			</item>
	<item>
		<title>Perl: Replacing every instance of a Regex found in multiple files&#8230;</title>
		<description><![CDATA[Simply use the following command;
perl -pi~ -e 's/regexp1/regexp2/' files
Where;

regexp1 - Regular expression you are seeking.  
regexp2 - It's replacement.

files -  The files you wish this replacement to occur.

]]></description>
		<link>http://blogs.nonado.net/sith/2007/05/23/perl-replacing-every-instance-of-a-regex-found-in-multiple-files/</link>
			</item>
	<item>
		<title>Vim: Counting the number of matches&#8230;</title>
		<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>
		<link>http://blogs.nonado.net/sith/2007/05/23/vim-counting-the-number-of-matches/</link>
			</item>
	<item>
		<title>Protected: A ripple in the pond&#8230;.</title>
		<description><![CDATA[There is no excerpt because this is a protected post.]]></description>
		<link>http://blogs.nonado.net/sith/2006/05/10/a-ripple-in-the-pond/</link>
			</item>
	<item>
		<title>Protected: Stars shining down on me from afar</title>
		<description><![CDATA[There is no excerpt because this is a protected post.]]></description>
		<link>http://blogs.nonado.net/sith/2006/02/09/stars-shining-down-on-me-from-afar/</link>
			</item>
	<item>
		<title>Protected: The Clock has stopped ticking&#8230;</title>
		<description><![CDATA[There is no excerpt because this is a protected post.]]></description>
		<link>http://blogs.nonado.net/sith/2006/01/24/the-clock-has-stopped-ticking/</link>
			</item>
	<item>
		<title>Protected: Who Cares?</title>
		<description><![CDATA[There is no excerpt because this is a protected post.]]></description>
		<link>http://blogs.nonado.net/sith/2005/09/23/aspirat-primo-fortuna-labori/</link>
			</item>
</channel>
</rss>
