<?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: Script day: grep in jar (or zip) files</title>
	<atom:link href="http://geek.co.il/wp/2009/09/14/script-day-grep-in-jar-or-zip-files/feed" rel="self" type="application/rss+xml" />
	<link>http://geek.co.il/wp/2009/09/14/script-day-grep-in-jar-or-zip-files</link>
	<description>Thoughts about the universe in general</description>
	<lastBuildDate>Mon, 06 Sep 2010 20:57:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
	<item>
		<title>By: Oded</title>
		<link>http://geek.co.il/wp/2009/09/14/script-day-grep-in-jar-or-zip-files/comment-page-1#comment-213509</link>
		<dc:creator>Oded</dc:creator>
		<pubDate>Sun, 08 Nov 2009 23:29:37 +0000</pubDate>
		<guid isPermaLink="false">http://geek.co.il/wp/?p=1175#comment-213509</guid>
		<description>P.S - I don&#039;t like preview comments as I think they are redundant. I will investigate adding them anyway though.</description>
		<content:encoded><![CDATA[<p>P.S &#8211; I don&#8217;t like preview comments as I think they are redundant. I will investigate adding them anyway though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oded</title>
		<link>http://geek.co.il/wp/2009/09/14/script-day-grep-in-jar-or-zip-files/comment-page-1#comment-213508</link>
		<dc:creator>Oded</dc:creator>
		<pubDate>Sun, 08 Nov 2009 23:28:54 +0000</pubDate>
		<guid isPermaLink="false">http://geek.co.il/wp/?p=1175#comment-213508</guid>
		<description>The problem of shell variable escaping is known, and in this simple example (as well as most other scripts I write) I choose to ignore it unless I know for a fact that the values I&#039;m dealing with are expected to include word delimiters (IFR in bash-speak).

Specifically in this case, jar files very rarely include white space (I could say &quot;never&quot; as I haven&#039;t see such a case in all my years, but as they say - &quot;never say never&quot;) and class files are not allowed to include white space in their names by the Java language specification.

I do quote the submitted pattern in the above example, because it is always important to make sure user input can&#039;t escape into your script, regardless of what it is matched against :-) .</description>
		<content:encoded><![CDATA[<p>The problem of shell variable escaping is known, and in this simple example (as well as most other scripts I write) I choose to ignore it unless I know for a fact that the values I&#8217;m dealing with are expected to include word delimiters (IFR in bash-speak).</p>
<p>Specifically in this case, jar files very rarely include white space (I could say &#8220;never&#8221; as I haven&#8217;t see such a case in all my years, but as they say &#8211; &#8220;never say never&#8221;) and class files are not allowed to include white space in their names by the Java language specification.</p>
<p>I do quote the submitted pattern in the above example, because it is always important to make sure user input can&#8217;t escape into your script, regardless of what it is matched against <img src='http://geek.co.il/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shlomi Fish</title>
		<link>http://geek.co.il/wp/2009/09/14/script-day-grep-in-jar-or-zip-files/comment-page-1#comment-213416</link>
		<dc:creator>Shlomi Fish</dc:creator>
		<pubDate>Sat, 07 Nov 2009 08:31:17 +0000</pubDate>
		<guid isPermaLink="false">http://geek.co.il/wp/?p=1175#comment-213416</guid>
		<description>Hi Oded!

Your code here suffers from potential shell-variable injection. See my posts about:

&lt;a href=&quot;http://community.livejournal.com/shlomif_tech/35301.html&quot; rel=&quot;nofollow&quot;&gt;Code Injection&lt;/a&gt;

&lt;a href=&quot;http://community.livejournal.com/shlomif_tech/14671.html&quot; rel=&quot;nofollow&quot;&gt;Shell Variable Injection&lt;/a&gt;

And why can&#039;t we have comment previews here? Stupid and incredibly lame WordPress.</description>
		<content:encoded><![CDATA[<p>Hi Oded!</p>
<p>Your code here suffers from potential shell-variable injection. See my posts about:</p>
<p><a href="http://community.livejournal.com/shlomif_tech/35301.html" rel="nofollow">Code Injection</a></p>
<p><a href="http://community.livejournal.com/shlomif_tech/14671.html" rel="nofollow">Shell Variable Injection</a></p>
<p>And why can&#8217;t we have comment previews here? Stupid and incredibly lame WordPress.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
