<?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:atom="http://www.w3.org/2005/Atom"
				  >
<channel>
<atom:link rel="self"  type="application/rss+xml"  href="http://rulinux.net/rss_from_sect_4_subsect_6_thread_33821"  />
<title>rulinux.net - Форум - Development - bash / shell</title>
<link>http://rulinux.net/</link>
<description><![CDATA[Портал о GNU/Linux и не только]]></description>
<image><title>rulinux.net - Форум - Development - bash / shell</title>
<link>http://rulinux.net/</link>
<url>http://rulinux.net/rss_icon.png</url>
</image>
<item>
<title>Re: bash / shell</title>
<link>https://rulinux.net/message.php?newsid=33821&amp;page=1#96688</link>
<guid>https://rulinux.net/message.php?newsid=33821&amp;page=1#96688</guid>
<pubDate>Wed, 29 Jun 2011 17:48:03 +0400</pubDate>
<description><![CDATA[<p><i>> В какую переменную записались значения "test" и "test.ru".</i><br> В stdout.</p>]]></description>
</item>
<item>
<title>Re: bash / shell</title>
<link>https://rulinux.net/message.php?newsid=33821&amp;page=1#96687</link>
<guid>https://rulinux.net/message.php?newsid=33821&amp;page=1#96687</guid>
<pubDate>Wed, 29 Jun 2011 17:43:27 +0400</pubDate>
<description><![CDATA[<p>А почему ты думаешь, что оно умеет результат в переменные запихивать?</p>]]></description>
</item>
<item>
<title>Re: bash / shell</title>
<link>https://rulinux.net/message.php?newsid=33821&amp;page=1#96686</link>
<guid>https://rulinux.net/message.php?newsid=33821&amp;page=1#96686</guid>
<pubDate>Wed, 29 Jun 2011 17:06:18 +0400</pubDate>
<description><![CDATA[<p>Код:</p><p>#!/bin/sh</p><p>mysql -e "SELECT name, test FROM test"</p><p> -</p><p>Результат:</p><p>+-------+----------+</p><p>| name | host |</p><p>+-------+----------+</p><p>| test | test.ru |</p><p>+-------+----------+</p><p> -</p><p>Вопрос: В какую переменную записались значения "test" и "test.ru". Чую что должно быть $1 и $2, но там пусто.</p>]]></description>
</item>
<item>
<title>bash / shell</title>
<link>https://rulinux.net/message.php?newsid=33821&amp;page=1#96685</link>
<guid>https://rulinux.net/message.php?newsid=33821&amp;page=1#96685</guid>
<pubDate>Wed, 29 Jun 2011 17:04:00 +0400</pubDate>
<description><![CDATA[<p>Код: #!/bin/sh mysql -e "SELECT name, test FROM test"</p><p>Результат: +-------+----------+ | name  | host     | +-------+----------+ | test  | test.ru  | +-------+----------+</p><p>Вопрос: В какую переменную записались значения "test" и "test.ru". Чую что должно быть $1 и $2, но там пусто.</p>]]></description>
</item>
</channel>
</rss>