<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Random Thoughts &#187; sed</title>
	<atom:link href="http://alexlurthu.wordpress.com/tag/sed/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexlurthu.wordpress.com</link>
	<description>Straight from the heart!</description>
	<lastBuildDate>Fri, 04 Dec 2009 20:54:08 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='alexlurthu.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/2e18259658cdc132622f409f5fd659ca?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Random Thoughts &#187; sed</title>
		<link>http://alexlurthu.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://alexlurthu.wordpress.com/osd.xml" title="Random Thoughts" />
		<item>
		<title>Comment/Uncomment all cron tab entries in one shot</title>
		<link>http://alexlurthu.wordpress.com/2008/03/30/commentuncomment-all-cron-tab-entries-in-one-shot/</link>
		<comments>http://alexlurthu.wordpress.com/2008/03/30/commentuncomment-all-cron-tab-entries-in-one-shot/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 12:40:34 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[comment]]></category>
		<category><![CDATA[crontab]]></category>
		<category><![CDATA[sed]]></category>

		<guid isPermaLink="false">http://alexlurthu.wordpress.com/?p=36</guid>
		<description><![CDATA[Comment :
sed -i -e &#8216;/^[ ]*[0-9]/ s/^/#/g&#8217;  /var/spool/cron/mysql
Uncomment :
sed -i -e &#8216;/^#*[ ]*[0-9]/ s/^#*[ ]*//g&#8217; /var/spool/cron/mysql
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=36&subd=alexlurthu&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Comment :</p>
<p><strong>sed -i -e &#8216;/^[ ]*[0-9]/ s/^/#/g&#8217;  /var/spool/cron/mysql</strong></p>
<p>Uncomment :</p>
<p><strong>sed -i -e &#8216;/^#*[ ]*[0-9]/ s/^#*[ ]*//g&#8217; /var/spool/cron/mysql</strong></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/alexlurthu.wordpress.com/36/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/alexlurthu.wordpress.com/36/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexlurthu.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexlurthu.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexlurthu.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexlurthu.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexlurthu.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexlurthu.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexlurthu.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexlurthu.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexlurthu.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexlurthu.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=36&subd=alexlurthu&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://alexlurthu.wordpress.com/2008/03/30/commentuncomment-all-cron-tab-entries-in-one-shot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9200ed713840b8e3b58d6c565a85e946?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Alex</media:title>
		</media:content>
	</item>
		<item>
		<title>Commenting and Uncommeting read-only in my.cnf across multiple servers</title>
		<link>http://alexlurthu.wordpress.com/2008/03/30/commenting-and-uncommeting-read-only-in-mycnf-across-multiple-servers/</link>
		<comments>http://alexlurthu.wordpress.com/2008/03/30/commenting-and-uncommeting-read-only-in-mycnf-across-multiple-servers/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 12:19:51 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[commet]]></category>
		<category><![CDATA[inline]]></category>
		<category><![CDATA[my.cnf]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[sed]]></category>

		<guid isPermaLink="false">http://alexlurthu.wordpress.com/?p=35</guid>
		<description><![CDATA[For commenting the following snippets can be used :
sudo perl -i -p -e &#8216; print &#8220;#&#8221; . &#8221; &#8221; if !/^#/ &#38;&#38; /^read-only/; &#8216; /etc/my.cnf
sed -i -e &#8217;s/^read-only/#&#38;/g&#8217; cnf
For uncommenting you can use the following snippets :
sudo perl -i -p -e &#8217;s/^#// if /^#/ &#38;&#38; /read-only/; &#8216; /etc/my.cnf

sed -i -e &#8217;s/^#*read-only/read-only/g&#8217; cnf
    [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=35&subd=alexlurthu&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>For commenting the following snippets can be used :</p>
<p><strong>sudo perl -i -p -e &#8216; print &#8220;#&#8221; . &#8221; &#8221; if !/^#/ &amp;&amp; /^read-only/; &#8216; /etc/my.cnf</strong></p>
<p><strong>sed -i -e &#8217;s/^read-only/#&amp;/g&#8217; cnf</strong></p>
<p>For uncommenting you can use the following snippets :</p>
<p><strong>sudo perl -i -p -e &#8217;s/^#// if /^#/ &amp;&amp; /read-only/; &#8216; /etc/my.cnf</strong><br />
<strong></strong></p>
<p><strong>sed -i -e &#8217;s/^#*read-only/read-only/g&#8217; cnf</strong></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/alexlurthu.wordpress.com/35/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/alexlurthu.wordpress.com/35/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexlurthu.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexlurthu.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexlurthu.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexlurthu.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexlurthu.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexlurthu.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexlurthu.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexlurthu.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexlurthu.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexlurthu.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=35&subd=alexlurthu&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://alexlurthu.wordpress.com/2008/03/30/commenting-and-uncommeting-read-only-in-mycnf-across-multiple-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9200ed713840b8e3b58d6c565a85e946?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Alex</media:title>
		</media:content>
	</item>
	</channel>
</rss>