<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to Use Compound Expressions with Awk in Linux &#8211; Part 5	</title>
	<atom:link href="https://www.tecmint.com/combine-multiple-expressions-in-awk/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/combine-multiple-expressions-in-awk/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Mon, 12 Aug 2024 06:43:51 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: lanz		</title>
		<link>https://www.tecmint.com/combine-multiple-expressions-in-awk/comment-page-1/#comment-1404865</link>

		<dc:creator><![CDATA[lanz]]></dc:creator>
		<pubDate>Sat, 26 Dec 2020 11:05:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=20852#comment-1404865</guid>

					<description><![CDATA[Thanks, Ren!!

Correct answer. You hit the mail.]]></description>
			<content:encoded><![CDATA[<p>Thanks, Ren!!</p>
<p>Correct answer. You hit the mail.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Aaron Kili K		</title>
		<link>https://www.tecmint.com/combine-multiple-expressions-in-awk/comment-page-1/#comment-796132</link>

		<dc:creator><![CDATA[Aaron Kili K]]></dc:creator>
		<pubDate>Tue, 28 Jun 2016 21:12:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=20852#comment-796132</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/combine-multiple-expressions-in-awk/comment-page-1/#comment-796080&quot;&gt;braykov&lt;/a&gt;.

Point taken, will do as you have mentioned.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/combine-multiple-expressions-in-awk/comment-page-1/#comment-796080">braykov</a>.</p>
<p>Point taken, will do as you have mentioned.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: braykov		</title>
		<link>https://www.tecmint.com/combine-multiple-expressions-in-awk/comment-page-1/#comment-796080</link>

		<dc:creator><![CDATA[braykov]]></dc:creator>
		<pubDate>Tue, 28 Jun 2016 12:26:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=20852#comment-796080</guid>

					<description><![CDATA[Do not use parenthesis when explaining you are &quot;flagging the text with...&quot; (**), when you are actually flagging it with just **. The special code formatting (the pink text box) already depicts that meaning. Putting extra parenthesis just makes it more cumbersome. 
The same is for &quot;(and)&quot; and &quot;(or)&quot; in the third paragraph.]]></description>
			<content:encoded><![CDATA[<p>Do not use parenthesis when explaining you are &#8220;flagging the text with&#8230;&#8221; (**), when you are actually flagging it with just **. The special code formatting (the pink text box) already depicts that meaning. Putting extra parenthesis just makes it more cumbersome.<br />
The same is for &#8220;(and)&#8221; and &#8220;(or)&#8221; in the third paragraph.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Aaron Kili K		</title>
		<link>https://www.tecmint.com/combine-multiple-expressions-in-awk/comment-page-1/#comment-793285</link>

		<dc:creator><![CDATA[Aaron Kili K]]></dc:creator>
		<pubDate>Tue, 21 Jun 2016 05:43:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=20852#comment-793285</guid>

					<description><![CDATA[@Ren

The line is:
7 Nano_Prowler_Mini_Drone $36.99 Tech

Not:

7 Nano_Prowler_Mini_Drone $3.99 Tech

So it is supposed to be printed with a &quot;*&quot; since it is above $20]]></description>
			<content:encoded><![CDATA[<p>@Ren</p>
<p>The line is:<br />
7 Nano_Prowler_Mini_Drone $36.99 Tech</p>
<p>Not:</p>
<p>7 Nano_Prowler_Mini_Drone $3.99 Tech</p>
<p>So it is supposed to be printed with a &#8220;*&#8221; since it is above $20</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ren		</title>
		<link>https://www.tecmint.com/combine-multiple-expressions-in-awk/comment-page-1/#comment-793032</link>

		<dc:creator><![CDATA[Ren]]></dc:creator>
		<pubDate>Mon, 20 Jun 2016 12:49:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=20852#comment-793032</guid>

					<description><![CDATA[I think
&lt;code&gt;$ awk &#039;($3 ~ /^\$[2-9][0-9]*\.[0-9][0-9]$/) &#038;&#038; ($4==&quot;Tech&quot;) { printf &quot;%s\t%s\n&quot;,$0,&quot;*&quot;; } &#039; tecmint_deals.txt&lt;/code&gt;
should change to
&lt;code&gt;$ awk &#039;($3 ~ /^\$[2-9][0-9]+\.[0-9][0-9]$/) &#038;&#038; ($4==&quot;Tech&quot;) { printf &quot;%s\t%s\n&quot;,$0,&quot;*&quot;; } &#039; tecmint_deals.txt&lt;/code&gt;
otherwise, the following line will also printed with &quot;*&quot;:
&lt;code&gt;7       Nano_Prowler_Mini_Drone                 $3.99          Tech&lt;/code&gt; 

P.S. Sorry for my English.]]></description>
			<content:encoded><![CDATA[<p>I think<br />
<code>$ awk '($3 ~ /^\$[2-9][0-9]*\.[0-9][0-9]$/) &amp;&amp; ($4=="Tech") { printf "%s\t%s\n",$0,"*"; } ' tecmint_deals.txt</code><br />
should change to<br />
<code>$ awk '($3 ~ /^\$[2-9][0-9]+\.[0-9][0-9]$/) &amp;&amp; ($4=="Tech") { printf "%s\t%s\n",$0,"*"; } ' tecmint_deals.txt</code><br />
otherwise, the following line will also printed with &#8220;*&#8221;:<br />
<code>7       Nano_Prowler_Mini_Drone                 $3.99          Tech</code> </p>
<p>P.S. Sorry for my English.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
