<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; поле == переменная]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=24855</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=24855&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «поле == переменная».]]></description>
		<lastBuildDate>Wed, 24 Oct 2012 10:14:08 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: поле == переменная]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=305741#p305741</link>
			<description><![CDATA[<div class="quotebox"><cite>Lupo Alberto пишет:</cite><blockquote><p>«А мы лёгких путей и не ищем...» ©&nbsp; <img src="https://linuxforum.ru/img/smilies/ag.gif" alt="ag" /></p></blockquote></div><p>тем более, если учесть факт существования комбайнеров. любой костыль можно придумать, если не знаешь рационального решения.</p><p>поэтому я и спросил что по легче)</p><br /><p>ps. к примеру, до прочтения man date, чтоб вывести только время, делал так<br />date | awk &#039;{print $4}&#039;</p>]]></description>
			<author><![CDATA[null@example.com (moshell)]]></author>
			<pubDate>Wed, 24 Oct 2012 10:14:08 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=305741#p305741</guid>
		</item>
		<item>
			<title><![CDATA[Re: поле == переменная]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=305725#p305725</link>
			<description><![CDATA[<p><img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p>]]></description>
			<author><![CDATA[null@example.com (-=Serj=-)]]></author>
			<pubDate>Wed, 24 Oct 2012 09:10:08 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=305725#p305725</guid>
		</item>
		<item>
			<title><![CDATA[Re: поле == переменная]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=305724#p305724</link>
			<description><![CDATA[<div class="quotebox"><cite>-=Serj=- пишет:</cite><blockquote><p>тогда можно проще:</p></blockquote></div><p>«А мы лёгких путей и не ищем...» ©&nbsp; <img src="https://linuxforum.ru/img/smilies/ag.gif" alt="ag" /></p>]]></description>
			<author><![CDATA[null@example.com (Lupo Alberto)]]></author>
			<pubDate>Wed, 24 Oct 2012 09:07:45 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=305724#p305724</guid>
		</item>
		<item>
			<title><![CDATA[Re: поле == переменная]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=305722#p305722</link>
			<description><![CDATA[<p>Ну, если считать Python штатным средством, тогда можно проще:<br /></p><div class="codebox"><pre><code>#!/usr/bin/env python

array = &quot;aasda,asdasd,adf,fgfg,tyt&quot;.split(&#039;,&#039;)</code></pre></div><p><img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /><br />В параметрах split указываем необходимый разделитель.</p>]]></description>
			<author><![CDATA[null@example.com (-=Serj=-)]]></author>
			<pubDate>Wed, 24 Oct 2012 09:03:09 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=305722#p305722</guid>
		</item>
		<item>
			<title><![CDATA[Re: поле == переменная]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=305718#p305718</link>
			<description><![CDATA[<div class="quotebox"><cite>-=Serj=- пишет:</cite><blockquote><p>А если разделитель - не пробел?</p></blockquote></div><p>Преобразовать строку, заменив разделитель полей, с помощью <em>sed</em>, <em>awk</em> или <em>tr</em>.</p>]]></description>
			<author><![CDATA[null@example.com (Lupo Alberto)]]></author>
			<pubDate>Wed, 24 Oct 2012 08:55:39 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=305718#p305718</guid>
		</item>
		<item>
			<title><![CDATA[Re: поле == переменная]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=305717#p305717</link>
			<description><![CDATA[<div class="quotebox"><cite>Lupo Alberto пишет:</cite><blockquote><p>Как вариант: инициализировать строкой массив</p></blockquote></div><p>Хм. А если разделитель - не пробел?</p>]]></description>
			<author><![CDATA[null@example.com (-=Serj=-)]]></author>
			<pubDate>Wed, 24 Oct 2012 08:53:52 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=305717#p305717</guid>
		</item>
		<item>
			<title><![CDATA[Re: поле == переменная]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=305713#p305713</link>
			<description><![CDATA[<div class="quotebox"><cite>moshell пишет:</cite><blockquote><p>интересно.</p><p>спасибо</p></blockquote></div><p><a href="http://tldp.org/LDP/abs/html/arrays.html">http://tldp.org/LDP/abs/html/arrays.html</a></p>]]></description>
			<author><![CDATA[null@example.com (Lupo Alberto)]]></author>
			<pubDate>Wed, 24 Oct 2012 08:39:06 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=305713#p305713</guid>
		</item>
		<item>
			<title><![CDATA[Re: поле == переменная]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=305712#p305712</link>
			<description><![CDATA[<p>интересно.</p><p>спасибо</p>]]></description>
			<author><![CDATA[null@example.com (moshell)]]></author>
			<pubDate>Wed, 24 Oct 2012 08:38:04 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=305712#p305712</guid>
		</item>
		<item>
			<title><![CDATA[Re: поле == переменная]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=305705#p305705</link>
			<description><![CDATA[<p>Как вариант: инициализировать строкой массив, затем по индексу&nbsp; из этого массива присваивать значения переменным.<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br />lupo@gentoo-laptop ~ % area2=( zero one two three four )<br />lupo@gentoo-laptop ~ % echo ${area2[0]}</p><p>lupo@gentoo-laptop ~ % echo ${area2[1]}<br />zero<br />lupo@gentoo-laptop ~ % echo ${area2[2]}<br />one<br />lupo@gentoo-laptop ~ % a=${area2[3]}<br />lupo@gentoo-laptop ~ % echo $a<br />two<br /></div></p>]]></description>
			<author><![CDATA[null@example.com (Lupo Alberto)]]></author>
			<pubDate>Wed, 24 Oct 2012 08:19:19 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=305705#p305705</guid>
		</item>
		<item>
			<title><![CDATA[Re: поле == переменная]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=305702#p305702</link>
			<description><![CDATA[<div class="quotebox"><cite>moshell пишет:</cite><blockquote><p>Подскажите плз.</p><p>есть строка, состоящая из n полей.<br />есть ли штатное решение чтоб все поля указанной строки занести в переменные?</p></blockquote></div><p>Что за язык? bash? тогда man cut.</p>]]></description>
			<author><![CDATA[null@example.com (-=Serj=-)]]></author>
			<pubDate>Wed, 24 Oct 2012 08:09:42 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=305702#p305702</guid>
		</item>
		<item>
			<title><![CDATA[поле == переменная]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=305698#p305698</link>
			<description><![CDATA[<p>Подскажите плз.</p><p>есть строка, состоящая из n полей.<br />есть ли штатное решение чтоб все поля указанной строки занести в переменные?</p>]]></description>
			<author><![CDATA[null@example.com (moshell)]]></author>
			<pubDate>Wed, 24 Oct 2012 08:06:02 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=305698#p305698</guid>
		</item>
	</channel>
</rss>
