<?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"
	>
<channel>
	<title>Comments on: BASH: Split a string without &#8216;cut&#8217; or &#8216;awk&#8217;</title>
	<atom:link href="http://antonolsen.com/2006/04/10/bash-split-a-string-without-cut-or-awk/feed/" rel="self" type="application/rss+xml" />
	<link>http://antonolsen.com/2006/04/10/bash-split-a-string-without-cut-or-awk/</link>
	<description>Just another LR2 Blogs weblog</description>
	<pubDate>Fri, 21 Nov 2008 21:51:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Jim Hertzler</title>
		<link>http://antonolsen.com/2006/04/10/bash-split-a-string-without-cut-or-awk/#comment-642</link>
		<dc:creator>Jim Hertzler</dc:creator>
		<pubDate>Fri, 05 Sep 2008 22:25:13 +0000</pubDate>
		<guid isPermaLink="false">http://antonolsen.com/?p=116#comment-642</guid>
		<description>Go to:

http://www.linuxquestions.org/questions/programming-9/bash-shell-script-split-array-383848/?posted=1#post3270996

And see:

IP=1.2.3.4; IP=(${IP//./ }); Rev=${IP[3]}.${IP[2]}.${IP[1]}.${IP[0]}</description>
		<content:encoded><![CDATA[<p>Go to:</p>
<p><a href="http://www.linuxquestions.org/questions/programming-9/bash-shell-script-split-array-383848/?posted=1#post3270996" rel="nofollow" onclick="javascript:urchinTracker ('/outbound/comment/www.linuxquestions.org');">http://www.linuxquestions.org/questions/programming-9/bash-shell-script-split-array-383848/?posted=1#post3270996</a></p>
<p>And see:</p>
<p>IP=1.2.3.4; IP=(${IP//./ }); Rev=${IP[3]}.${IP[2]}.${IP[1]}.${IP[0]}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton</title>
		<link>http://antonolsen.com/2006/04/10/bash-split-a-string-without-cut-or-awk/#comment-643</link>
		<dc:creator>Anton</dc:creator>
		<pubDate>Fri, 05 Sep 2008 15:46:49 +0000</pubDate>
		<guid isPermaLink="false">http://antonolsen.com/?p=116#comment-643</guid>
		<description>Jim,

Thanks!  I hadn't known about the IFS internal variable.</description>
		<content:encoded><![CDATA[<p>Jim,</p>
<p>Thanks!  I hadn&#8217;t known about the IFS internal variable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Hertzler</title>
		<link>http://antonolsen.com/2006/04/10/bash-split-a-string-without-cut-or-awk/#comment-647</link>
		<dc:creator>Jim Hertzler</dc:creator>
		<pubDate>Fri, 05 Sep 2008 15:39:40 +0000</pubDate>
		<guid isPermaLink="false">http://antonolsen.com/?p=116#comment-647</guid>
		<description>#!/bin/bash
# Split the command line argument on the colon character.

IFS=":"; declare -a Array=($*)

echo "Array[0]=${Array[0]}"
echo "Array[1]=${Array[1]}"
echo "Array[2]=${Array[2]}"
echo "Array[3]=${Array[3]}"</description>
		<content:encoded><![CDATA[<p>#!/bin/bash<br />
# Split the command line argument on the colon character.</p>
<p>IFS=&#8221;:&#8221;; declare -a Array=($*)</p>
<p>echo &#8220;Array[0]=${Array[0]}&#8221;<br />
echo &#8220;Array[1]=${Array[1]}&#8221;<br />
echo &#8220;Array[2]=${Array[2]}&#8221;<br />
echo &#8220;Array[3]=${Array[3]}&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eureka tips</title>
		<link>http://antonolsen.com/2006/04/10/bash-split-a-string-without-cut-or-awk/#comment-646</link>
		<dc:creator>eureka tips</dc:creator>
		<pubDate>Mon, 01 Sep 2008 08:53:06 +0000</pubDate>
		<guid isPermaLink="false">http://antonolsen.com/?p=116#comment-646</guid>
		<description>This cool tip was a lot helpful one.....I did a srch for my problem of interpreting a .CSV and this works like a charm</description>
		<content:encoded><![CDATA[<p>This cool tip was a lot helpful one&#8230;..I did a srch for my problem of interpreting a .CSV and this works like a charm</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: red_team316</title>
		<link>http://antonolsen.com/2006/04/10/bash-split-a-string-without-cut-or-awk/#comment-644</link>
		<dc:creator>red_team316</dc:creator>
		<pubDate>Sun, 24 Aug 2008 07:57:59 +0000</pubDate>
		<guid isPermaLink="false">http://antonolsen.com/?p=116#comment-644</guid>
		<description>You sir are Awesome! Not that this makes me enjoy bash any more(I prefer real programming languages), but this is much more understandable than that sed/awk stuff.

Bookmarked, Stumbled, Saved.</description>
		<content:encoded><![CDATA[<p>You sir are Awesome! Not that this makes me enjoy bash any more(I prefer real programming languages), but this is much more understandable than that sed/awk stuff.</p>
<p>Bookmarked, Stumbled, Saved.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim K</title>
		<link>http://antonolsen.com/2006/04/10/bash-split-a-string-without-cut-or-awk/#comment-645</link>
		<dc:creator>Tim K</dc:creator>
		<pubDate>Fri, 06 Jun 2008 16:00:07 +0000</pubDate>
		<guid isPermaLink="false">http://antonolsen.com/?p=116#comment-645</guid>
		<description>Thanks, you saved me lot of time and valuable bytes!</description>
		<content:encoded><![CDATA[<p>Thanks, you saved me lot of time and valuable bytes!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steadyonabix</title>
		<link>http://antonolsen.com/2006/04/10/bash-split-a-string-without-cut-or-awk/#comment-641</link>
		<dc:creator>steadyonabix</dc:creator>
		<pubDate>Mon, 17 Mar 2008 13:43:12 +0000</pubDate>
		<guid isPermaLink="false">http://antonolsen.com/?p=116#comment-641</guid>
		<description>Very elegant, you are no bookmarked!

Many thanks</description>
		<content:encoded><![CDATA[<p>Very elegant, you are no bookmarked!</p>
<p>Many thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jerik</title>
		<link>http://antonolsen.com/2006/04/10/bash-split-a-string-without-cut-or-awk/#comment-638</link>
		<dc:creator>jerik</dc:creator>
		<pubDate>Sun, 10 Feb 2008 14:20:38 +0000</pubDate>
		<guid isPermaLink="false">http://antonolsen.com/?p=116#comment-638</guid>
		<description>If I am right, this just works if you know how much delimiter are in the string you wish to split. Nice would be if this should work without knowing this...

cheers -- jerik</description>
		<content:encoded><![CDATA[<p>If I am right, this just works if you know how much delimiter are in the string you wish to split. Nice would be if this should work without knowing this&#8230;</p>
<p>cheers &#8212; jerik</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Federico</title>
		<link>http://antonolsen.com/2006/04/10/bash-split-a-string-without-cut-or-awk/#comment-640</link>
		<dc:creator>Federico</dc:creator>
		<pubDate>Sun, 30 Dec 2007 10:09:30 +0000</pubDate>
		<guid isPermaLink="false">http://antonolsen.com/?p=116#comment-640</guid>
		<description>Than you very much for this hint! It saved me from some tricky shell scripting :-)</description>
		<content:encoded><![CDATA[<p>Than you very much for this hint! It saved me from some tricky shell scripting <img src='http://antonolsen.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: et lux in tenebris lucet</title>
		<link>http://antonolsen.com/2006/04/10/bash-split-a-string-without-cut-or-awk/#comment-637</link>
		<dc:creator>et lux in tenebris lucet</dc:creator>
		<pubDate>Mon, 05 Nov 2007 21:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://antonolsen.com/?p=116#comment-637</guid>
		<description>&lt;strong&gt;Splitting a string in bash...&lt;/strong&gt;

I found this little trick to split a string in bash, so I&#8217;m sharing. Maybe it&#8217;s obvious to some people, but I don&#8217;t do a lot of shell scripting, so it was helpful to me.
http://anton.lr2.com/archives/2006/04/10/bash-split-a-string-wit...</description>
		<content:encoded><![CDATA[<p><strong>Splitting a string in bash&#8230;</strong></p>
<p>I found this little trick to split a string in bash, so I&#8217;m sharing. Maybe it&#8217;s obvious to some people, but I don&#8217;t do a lot of shell scripting, so it was helpful to me.<br />
<a href="http://anton.lr2.com/archives/2006/04/10/bash-split-a-string-wit.." rel="nofollow" onclick="javascript:urchinTracker ('/outbound/comment/anton.lr2.com');">http://anton.lr2.com/archives/2006/04/10/bash-split-a-string-wit..</a>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
