<?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: AWK Arrays Explained with 5 Practical Examples</title>
	<atom:link href="http://www.thegeekstuff.com/2010/03/awk-arrays-explained-with-5-practical-examples/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thegeekstuff.com/2010/03/awk-arrays-explained-with-5-practical-examples/</link>
	<description>Guides, HowTos and Tips for Technology Geeks</description>
	<lastBuildDate>Thu, 09 Feb 2012 11:52:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: porosec</title>
		<link>http://www.thegeekstuff.com/2010/03/awk-arrays-explained-with-5-practical-examples/comment-page-1/#comment-49230</link>
		<dc:creator>porosec</dc:creator>
		<pubDate>Sun, 06 Jun 2010 07:30:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=3416#comment-49230</guid>
		<description>I think solve example 3 more effective is 

awk &#039;max &lt; $1 { max = $1 } END { print max }&#039; Iplogs.txt</description>
		<content:encoded><![CDATA[<p>I think solve example 3 more effective is </p>
<p>awk &#8216;max &lt; $1 { max = $1 } END { print max }&#039; Iplogs.txt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Pulvino</title>
		<link>http://www.thegeekstuff.com/2010/03/awk-arrays-explained-with-5-practical-examples/comment-page-1/#comment-38756</link>
		<dc:creator>Eric Pulvino</dc:creator>
		<pubDate>Wed, 10 Mar 2010 14:53:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=3416#comment-38756</guid>
		<description>Looking at several of these examples here I would refer to these arrays more as MAPS. The difference in my mind is that the indexes are not necessarily numerically consecutive in the awk cases.... they are more like the keys used in C++ style maps which can take any value as needed to suit the data set.

Interesting functionality though, I will be sure to use it at some point I&#039;m sure.</description>
		<content:encoded><![CDATA[<p>Looking at several of these examples here I would refer to these arrays more as MAPS. The difference in my mind is that the indexes are not necessarily numerically consecutive in the awk cases&#8230;. they are more like the keys used in C++ style maps which can take any value as needed to suit the data set.</p>
<p>Interesting functionality though, I will be sure to use it at some point I&#8217;m sure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aldoem</title>
		<link>http://www.thegeekstuff.com/2010/03/awk-arrays-explained-with-5-practical-examples/comment-page-1/#comment-38720</link>
		<dc:creator>aldoem</dc:creator>
		<pubDate>Wed, 10 Mar 2010 08:46:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=3416#comment-38720</guid>
		<description>Very gut...
Multiarray example:

#!/bin/bash
Matrix=(&quot;one&quot; &quot;two&quot; &quot;three&quot;)
one=(&quot;1.1&quot; &quot;1.2&quot; &quot;1.3&quot;)
two=(&quot;2.1&quot; &quot;2.2&quot; &quot;2.3&quot;)
three=(&quot;3.1&quot; &quot;3.2&quot; &quot;3.3&quot; )

for i in ${Matrix[@]}
do
 one_Item=$(eval echo &quot;\${$i[0]}&quot;)
 two_Item=$(eval echo &quot;\${$i[1]}&quot;)
 three_Item=$(eval echo &quot;\${$i[2]}&quot;)
done</description>
		<content:encoded><![CDATA[<p>Very gut&#8230;<br />
Multiarray example:</p>
<p>#!/bin/bash<br />
Matrix=(&#8220;one&#8221; &#8220;two&#8221; &#8220;three&#8221;)<br />
one=(&#8220;1.1&#8243; &#8220;1.2&#8243; &#8220;1.3&#8243;)<br />
two=(&#8220;2.1&#8243; &#8220;2.2&#8243; &#8220;2.3&#8243;)<br />
three=(&#8220;3.1&#8243; &#8220;3.2&#8243; &#8220;3.3&#8243; )</p>
<p>for i in ${Matrix[@]}<br />
do<br />
 one_Item=$(eval echo &#8220;\${$i[0]}&#8221;)<br />
 two_Item=$(eval echo &#8220;\${$i[1]}&#8221;)<br />
 three_Item=$(eval echo &#8220;\${$i[2]}&#8221;)<br />
done</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Content Delivery Network via Amazon Web Services: CloudFront: static.thegeekstuff.com

Served from: www.thegeekstuff.com @ 2012-02-09 13:08:53 -->
