<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Search And Replace shell script helpful for Upgrades</title>
	<atom:link href="http://www.askapache.com/shellscript/search-and-replace-shell-script-helpful-for-upgrades.html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.askapache.com/shellscript/search-and-replace-shell-script-helpful-for-upgrades.html</link>
	<description>Advanced Web Development</description>
	<lastBuildDate>Wed, 18 Nov 2009 23:28:48 -0500</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Bill</title>
		<link>http://www.askapache.com/shellscript/search-and-replace-shell-script-helpful-for-upgrades.html#comment-80438</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Wed, 10 Jun 2009 20:53:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/?p=1516#comment-80438</guid>
		<description>We are launching a new design soon and plan to use your tool as it was very effective the last time.  I would like to use this opportunity to clean things up a bit in my code.  For instance, I have a fair amount of inline CSS styles that I would like to change to class or id names.

The problem I am having is that the &lt;code&gt;&lt;&lt;/code&gt; and &lt;code&gt;&gt;&lt;/code&gt; are returning syntax errors for me.  If I try to replace &lt;code&gt;style=&quot;margin: 1.5em;&quot;&lt;/code&gt; with &lt;code&gt;class=&quot;new_style&quot;&lt;/code&gt; the script hangs after I return &quot;y&quot; for &quot;Are these settings correct [y/n]&quot;

Is there a better way to do this or is this beyond the scope of this program?

Thanks for your help.</description>
		<content:encoded><![CDATA[<p>We are launching a new design soon and plan to use your tool as it was very effective the last time.  I would like to use this opportunity to clean things up a bit in my code.  For instance, I have a fair amount of inline CSS styles that I would like to change to class or id names.</p>
<p>The problem I am having is that the <code>&lt;</code> and <code>&gt;</code> are returning syntax errors for me.  If I try to replace <code>style="margin: 1.5em;"</code> with <code>class="new_style"</code> the script hangs after I return &#8220;y&#8221; for &#8220;Are these settings correct [y/n]&#8221;</p>
<p>Is there a better way to do this or is this beyond the scope of this program?</p>
<p>Thanks for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AskApache</title>
		<link>http://www.askapache.com/shellscript/search-and-replace-shell-script-helpful-for-upgrades.html#comment-71570</link>
		<dc:creator>AskApache</dc:creator>
		<pubDate>Sun, 19 Apr 2009 16:08:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/?p=1516#comment-71570</guid>
		<description>&lt;p&gt;&lt;strong&gt;@ Mike the elder&lt;/strong&gt;&lt;/p&gt;

Hey Mike welcome back!  You&#039;ve missed an enormous amount of progress over the last few years, but I envy your experience.. thanks for stopping by and check out the update I created for you.</description>
		<content:encoded><![CDATA[<p><strong>@ Mike the elder</strong></p>
<p>Hey Mike welcome back!  You&#8217;ve missed an enormous amount of progress over the last few years, but I envy your experience.. thanks for stopping by and check out the update I created for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike the Elder</title>
		<link>http://www.askapache.com/shellscript/search-and-replace-shell-script-helpful-for-upgrades.html#comment-71520</link>
		<dc:creator>Mike the Elder</dc:creator>
		<pubDate>Sat, 18 Apr 2009 22:40:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/?p=1516#comment-71520</guid>
		<description>Being a very old guy...i used to program when it was unix 3.  I am trying to get back and learn some new stuff.   Your site is very interesting even if i dont understand some of what you are doing :) Although i want to.   This particular script would be very helpful to me if i could run it from a cron job.  The web host i am using does not allow a shell account...but i can run some stuff from scripts via a cron job.   Do you have a version that i can send arguments to via a cron.  As i am just getting back into programming i am learning php but i dont remember much about shell scripting.  Thanks for all you share...it make it very nice for us old newbies :)</description>
		<content:encoded><![CDATA[<p>Being a very old guy&#8230;i used to program when it was unix 3.  I am trying to get back and learn some new stuff.   Your site is very interesting even if i dont understand some of what you are doing :) Although i want to.   This particular script would be very helpful to me if i could run it from a cron job.  The web host i am using does not allow a shell account&#8230;but i can run some stuff from scripts via a cron job.   Do you have a version that i can send arguments to via a cron.  As i am just getting back into programming i am learning php but i dont remember much about shell scripting.  Thanks for all you share&#8230;it make it very nice for us old newbies :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AskApache</title>
		<link>http://www.askapache.com/shellscript/search-and-replace-shell-script-helpful-for-upgrades.html#comment-53522</link>
		<dc:creator>AskApache</dc:creator>
		<pubDate>Mon, 05 Jan 2009 13:34:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/?p=1516#comment-53522</guid>
		<description>&lt;p&gt;&lt;strong&gt;@ Bill&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Each shell/OS/sed version are unique..  To replace with nothing just leave the replacement blank.  That tells &lt;code&gt;sed&lt;/code&gt; to delete the text.&lt;/p&gt;

&lt;p&gt;As to special characters, unless you know your shell well I would recommend just typing the search and replace commands manually so you can see errors and what works.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p><strong>@ Bill</strong></p>
<p>Each shell/OS/sed version are unique..  To replace with nothing just leave the replacement blank.  That tells <code>sed</code> to delete the text.</p>
<p>As to special characters, unless you know your shell well I would recommend just typing the search and replace commands manually so you can see errors and what works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://www.askapache.com/shellscript/search-and-replace-shell-script-helpful-for-upgrades.html#comment-51173</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Mon, 29 Dec 2008 15:22:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/?p=1516#comment-51173</guid>
		<description>Is there a way to search and replace for strings with, what I am assuming are, illegal characters?  What I am trying to do is to replace an old string
&lt;pre&gt;
&lt;!&#45;-#set var=&quot;variableName&quot; value=&quot;variableValue&quot; &#45;-&gt;
&lt;/pre&gt;
with nothing.

Are there any tweaks or escape characters I should be throwing in there to make this happen?</description>
		<content:encoded><![CDATA[<p>Is there a way to search and replace for strings with, what I am assuming are, illegal characters?  What I am trying to do is to replace an old string</p>
<pre>&lt;!&#45;-#set var="variableName" value="variableValue" &#45;-&gt;</pre>
<p>with nothing.</p>
<p>Are there any tweaks or escape characters I should be throwing in there to make this happen?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AskApache</title>
		<link>http://www.askapache.com/shellscript/search-and-replace-shell-script-helpful-for-upgrades.html#comment-47669</link>
		<dc:creator>AskApache</dc:creator>
		<pubDate>Fri, 05 Dec 2008 13:08:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/?p=1516#comment-47669</guid>
		<description>&lt;p&gt;&lt;strong&gt;@ Bill&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Great! I love finding what I&#039;m looking for on the web, and I know it isn&#039;t an everyday occurrance.. especially with an off-the-beaten-path topic like a search-and-replace bash shell script..  and this script is really effective, Enjoy!&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p><strong>@ Bill</strong></p>
<p>Great! I love finding what I&#8217;m looking for on the web, and I know it isn&#8217;t an everyday occurrance.. especially with an off-the-beaten-path topic like a search-and-replace bash shell script..  and this script is really effective, Enjoy!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://www.askapache.com/shellscript/search-and-replace-shell-script-helpful-for-upgrades.html#comment-47655</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Thu, 04 Dec 2008 16:46:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/?p=1516#comment-47655</guid>
		<description>Wow!  This is exactly what I was looking for in preparation of launching our new site.  Thank you.</description>
		<content:encoded><![CDATA[<p>Wow!  This is exactly what I was looking for in preparation of launching our new site.  Thank you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
