<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.4" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Sharing MySQL Option Group Configurations</title>
	<link>http://blog.louspringer.com/2007/12/30/sharing-mysql-option-group-configurations/</link>
	<description>I'm getting there. What's the rush? It's about the journey, right?</description>
	<pubDate>Wed, 08 Sep 2010 02:36:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>

	<item>
		<title>by: Anonymous</title>
		<link>http://blog.louspringer.com/2007/12/30/sharing-mysql-option-group-configurations/#comment-36765</link>
		<pubDate>Mon, 07 Jul 2008 16:43:42 +0000</pubDate>
		<guid>http://blog.louspringer.com/2007/12/30/sharing-mysql-option-group-configurations/#comment-36765</guid>
					<description>Hmm. That sed does a lot of 'reformatting'. Is that necessary? How about something like this:

sed -ne "/^\s*\[$2\]\s*$/,/^\s*\[.*\]\s*$/{x;p}" "$1"</description>
		<content:encoded><![CDATA[<p>Hmm. That sed does a lot of &#8216;reformatting&#8217;. Is that necessary? How about something like this:</p>
<p>sed -ne &#8220;/^\s*\[$2\]\s*$/,/^\s*\[.*\]\s*$/{x;p}&#8221; &#8220;$1&#8243;
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Lou</title>
		<link>http://blog.louspringer.com/2007/12/30/sharing-mysql-option-group-configurations/#comment-23760</link>
		<pubDate>Wed, 02 Jan 2008 02:43:38 +0000</pubDate>
		<guid>http://blog.louspringer.com/2007/12/30/sharing-mysql-option-group-configurations/#comment-23760</guid>
					<description>Thanks, Jay!

Some context for anyone else reading this, I commented  on Twitter that there is likely a one-line sed script that could replace my crude perl version. Jay's response is that sed script.</description>
		<content:encoded><![CDATA[<p>Thanks, Jay!</p>
<p>Some context for anyone else reading this, I commented  on Twitter that there is likely a one-line sed script that could replace my crude perl version. Jay&#8217;s response is that sed script.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jay</title>
		<link>http://blog.louspringer.com/2007/12/30/sharing-mysql-option-group-configurations/#comment-23738</link>
		<pubDate>Tue, 01 Jan 2008 20:17:35 +0000</pubDate>
		<guid>http://blog.louspringer.com/2007/12/30/sharing-mysql-option-group-configurations/#comment-23738</guid>
					<description>That's a space followed by a tab in the braces. :)

#!/bin/sh
cat $1 &#124; sed -e 's/[  ]*\=[   ]*/=/g' -e 's/;.*$//' -e 's/[   ]*$//' -e 's/^[   ]*//' -e "s/^\(.*\)=\([^\"']*\)$/\1=\"\2\"/" &#124; sed -ne "/^\[$2\]/,/^\s*\[/{/^[^;].*\=.*/p;}"</description>
		<content:encoded><![CDATA[<p>That&#8217;s a space followed by a tab in the braces. :)</p>
<p>#!/bin/sh
cat $1 | sed -e &#8217;s/[  ]*\=[   ]*/=/g&#8217; -e &#8217;s/;.*$//&#8217; -e &#8217;s/[   ]*$//&#8217; -e &#8217;s/^[   ]*//&#8217; -e &#8220;s/^\(.*\)=\([^\&#8221;&#8216;]*\)$/\1=\&#8221;\2\&#8221;/&#8221; | sed -ne &#8220;/^\[$2\]/,/^\s*\[/{/^[^;].*\=.*/p;}&#8221;
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
