
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.thelinuxwiki.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=Splitting_%24line_string_into_words</id>
		<title>Splitting $line string into words - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=Splitting_%24line_string_into_words"/>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=Splitting_$line_string_into_words&amp;action=history"/>
		<updated>2026-04-29T04:52:12Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21.5</generator>

	<entry>
		<id>http://www.thelinuxwiki.com/index.php?title=Splitting_$line_string_into_words&amp;diff=237&amp;oldid=prev</id>
		<title>Nighthawk: Pushed from Themanclub.</title>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=Splitting_$line_string_into_words&amp;diff=237&amp;oldid=prev"/>
				<updated>2013-04-26T21:17:45Z</updated>
		
		<summary type="html">&lt;p&gt;Pushed from Themanclub.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;astringvar='foo bar baz'&lt;br /&gt;
&lt;br /&gt;
a=( $s )&lt;br /&gt;
&lt;br /&gt;
echo ${a[0]}    #word0 in string&lt;br /&gt;
&lt;br /&gt;
echo ${a[1]}    #word1 in string&lt;br /&gt;
&lt;br /&gt;
foo&lt;br /&gt;
&lt;br /&gt;
bar&lt;br /&gt;
&lt;br /&gt;
'''if parsing a file...'''&lt;br /&gt;
&lt;br /&gt;
  cat $filename | while read line&lt;br /&gt;
  do&lt;br /&gt;
    echo &amp;quot;Processing new line&amp;quot; &amp;gt;/dev/tty&lt;br /&gt;
    for word in $line&lt;br /&gt;
    do&lt;br /&gt;
        echo $word&lt;br /&gt;
    done&lt;br /&gt;
  done&lt;br /&gt;
&lt;br /&gt;
[[category:bash scripting]]&lt;/div&gt;</summary>
		<author><name>Nighthawk</name></author>	</entry>

	</feed>