<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Bash. Выделение подстрои]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=27934&amp;type=atom" />
	<updated>2013-04-24T04:54:34Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=27934</id>
		<entry>
			<title type="html"><![CDATA[Re: Bash. Выделение подстрои]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=342209#p342209" />
			<content type="html"><![CDATA[<p>А ещё можно вот так:<br /></p><div class="codebox"><pre><code>echo &#039;&lt;a href=&quot;?show_id=401&quot;&gt;&lt;img src=&quot;/image/1.jpg&quot;&gt;&#039; | cut -d &quot;\&quot;&quot; -f2</code></pre></div><p>Через sed конечно правильнее, но так иногда понятнее. И всегда есть несколько вариантов решения.</p>]]></content>
			<author>
				<name><![CDATA[Vascom]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5339</uri>
			</author>
			<updated>2013-04-24T04:54:34Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=342209#p342209</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Bash. Выделение подстрои]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=342055#p342055" />
			<content type="html"><![CDATA[<p><strong>sed -n &#039;/&lt;a href=&quot;\([^&quot;]*\)&quot;.*/{s//\1/;p}&#039;</strong></p>]]></content>
			<author>
				<name><![CDATA[Fat-Zer]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11911</uri>
			</author>
			<updated>2013-04-23T13:23:53Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=342055#p342055</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Bash. Выделение подстрои]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=342052#p342052" />
			<content type="html"><![CDATA[<p>Добрый день.<br />Имеется строка вида:</p><div class="codebox"><pre><code>&lt;a href=&quot;?show_id=401&quot;&gt;&lt;img src=&quot;/image/1.jpg&quot;&gt;</code></pre></div><p>Как мне получить отсюда строку вида: <strong>?show_id=401</strong></p><p>Заранее спасибо</p>]]></content>
			<author>
				<name><![CDATA[BashOrgRu]]></name>
				<uri>https://linuxforum.ru/profile.php?id=3042</uri>
			</author>
			<updated>2013-04-23T13:09:18Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=342052#p342052</id>
		</entry>
</feed>
