<?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/"
	>

<channel>
	<title>Burad's Blog &#187; perl</title>
	<atom:link href="http://www.aburad.com/blog/tag/perl/feed" rel="self" type="application/rss+xml" />
	<link>http://www.aburad.com/blog</link>
	<description>Linux, Tech, web , programming and other stuff I'm inerested in</description>
	<lastBuildDate>Thu, 11 Mar 2010 15:54:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Google treasure hunt (Second puzzle)</title>
		<link>http://www.aburad.com/blog/2008/05/google-treasure-hunt-second-puzzzle.html</link>
		<comments>http://www.aburad.com/blog/2008/05/google-treasure-hunt-second-puzzzle.html#comments</comments>
		<pubDate>Mon, 19 May 2008 18:34:16 +0000</pubDate>
		<dc:creator>burad</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[puzzle]]></category>

		<guid isPermaLink="false">http://aburad.com/blog/?p=244</guid>
		<description><![CDATA[Its about time (936266827 seconds before Y2K38) i.e 19may2008 17:07:58 (UTC) and the second puzzle is live (Check it out).   You can still try the first question here. Second puzzle from google treasure hunt is to calculate
Sum of line n for all files with path or name containing pattern and ending in particular [...]]]></description>
			<content:encoded><![CDATA[<p>Its about time (<a href="http://googleblog.blogspot.com/2008/05/google-treasure-hunt-update.html">936266827 seconds before Y2K38</a>) i.e 19may2008 17:07:58 (UTC) and the <a href="http://treasurehunt.appspot.com/">second puzzle is live (Check it out)</a>.   You can still try the <a href="http://treasurehunt.appspot.com/historic/robot/">first question here</a>. Second puzzle from <a href="http://google-au.blogspot.com/2008/05/google-treasure-hunt.html">google treasure hunt</a> is to calculate</p>
<blockquote><p>Sum of line <strong>n</strong> for all files with path or name containing pattern and ending in particular extension. Similarly Sum of line <strong>m</strong> for all files with some pattern.<br />
Hint: If the requested line does not exist, do not increment the sum.<br />
Multiply all the above sums together and enter the product below.</p></blockquote>
<p>for a given set of files contained in a zip archive. I have already submitted my answer <img src='http://www.aburad.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  , but this time I will have to wait for 24hrs to check the status of my answer <img src='http://www.aburad.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  . I thinks its a good puzzle to test your quick shell script abilities. (Can also be done easily in perl/python). </p>
<p>For the solution part, I wont give the actual solution (As dont want it to spoil for others who are actually trying) but you can use shell commands [grep, find ,sed and pipe (|)] to get to solution. You can get all the required numbers  in 2 lines on shell.</p>
<p>Related Post:<br />
<a href="http://aburad.com/blog/2008/05/google-treaure-hunt.html">Google Treasure Hunt</a><br />
<a href="http://aburad.com/blog/2007/04/orios-riddle-completed.html">Orio&#8217;s Riddle Completed</a><br />
<a href="http://aburad.com/blog/2007/02/twisty-puzzles.html">Twisty Puzzles</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.aburad.com/blog/2008/05/google-treasure-hunt-second-puzzzle.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
