<?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 &#8216;next&#8217; Command with Awk in Linux &#8211; Part 6	</title>
	<atom:link href="https://www.tecmint.com/use-next-command-with-awk-in-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/use-next-command-with-awk-in-linux/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Mon, 12 Aug 2024 06:43:57 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Edgar		</title>
		<link>https://www.tecmint.com/use-next-command-with-awk-in-linux/comment-page-1/#comment-1018951</link>

		<dc:creator><![CDATA[Edgar]]></dc:creator>
		<pubDate>Fri, 27 Jul 2018 17:44:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=20863#comment-1018951</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/use-next-command-with-awk-in-linux/comment-page-1/#comment-976655&quot;&gt;Dan&lt;/a&gt;.

Each line is read twice to do the comparison if it is bigger than 20 or less than 20. What I believe this is doing is that once it found that the first condition was met it skips the second validation and goes to the next line.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/use-next-command-with-awk-in-linux/comment-page-1/#comment-976655">Dan</a>.</p>
<p>Each line is read twice to do the comparison if it is bigger than 20 or less than 20. What I believe this is doing is that once it found that the first condition was met it skips the second validation and goes to the next line.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dan		</title>
		<link>https://www.tecmint.com/use-next-command-with-awk-in-linux/comment-page-1/#comment-976655</link>

		<dc:creator><![CDATA[Dan]]></dc:creator>
		<pubDate>Mon, 19 Mar 2018 02:57:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=20863#comment-976655</guid>

					<description><![CDATA[1) What is the different if I simply remove  &lt;strong&gt;$4 &#062; 20 { print $0, &quot;-&quot; ;}&lt;/strong&gt; since it&#039;s not processing at all?

&lt;strong&gt;awk &#039;$4 &#060;= 20 { printf &#034;%s\t%s\n&#034;, $0,&#034;*&#034;}&#039; food_list.txt&lt;/strong&gt;
&lt;pre&gt;
1       Mangoes                 $3.45              5    *
5       Onions                  $1.45              15   *
&lt;/pre&gt;
2) What does it do? printf &#034;%s\t%s\n&#034;]]></description>
			<content:encoded><![CDATA[<p>1) What is the different if I simply remove  <strong>$4 &gt; 20 { print $0, &#8220;-&#8221; ;}</strong> since it&#8217;s not processing at all?</p>
<p><strong>awk &#8216;$4 &lt;= 20 { printf &quot;%s\t%s\n&quot;, $0,&quot;*&quot;}&#039; food_list.txt</strong></p>
<pre>
1       Mangoes                 $3.45              5    *
5       Onions                  $1.45              15   *
</pre>
<p>2) What does it do? printf &quot;%s\t%s\n&quot;</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
