<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: awk one-liners</title>
	<atom:link href="http://nixshell.wordpress.com/2009/04/01/awk-one-liners/feed/" rel="self" type="application/rss+xml" />
	<link>http://nixshell.wordpress.com/2009/04/01/awk-one-liners/</link>
	<description>UNIX / Linux Shell Hints and Tips&#160;&#160;&#160;&#160;&#160;&#160;(a http://steve-parker.org/sh/sh.shtml subproject)</description>
	<lastBuildDate>Sun, 31 Mar 2013 18:54:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: anusha</title>
		<link>http://nixshell.wordpress.com/2009/04/01/awk-one-liners/#comment-5555</link>
		<dc:creator><![CDATA[anusha]]></dc:creator>
		<pubDate>Thu, 29 Dec 2011 08:58:21 +0000</pubDate>
		<guid isPermaLink="false">http://nixshell.wordpress.com/?p=98#comment-5555</guid>
		<description><![CDATA[very very Thanks.these examples are really helpful to me]]></description>
		<content:encoded><![CDATA[<p>very very Thanks.these examples are really helpful to me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kcoder24</title>
		<link>http://nixshell.wordpress.com/2009/04/01/awk-one-liners/#comment-5478</link>
		<dc:creator><![CDATA[kcoder24]]></dc:creator>
		<pubDate>Thu, 01 Sep 2011 16:01:43 +0000</pubDate>
		<guid isPermaLink="false">http://nixshell.wordpress.com/?p=98#comment-5478</guid>
		<description><![CDATA[Hi, good collection of one-liners. Eric Pement has already awk1line.txt and Peteris Krumis explain them in a very detailed way. So take a look here 
http://www.catonmat.net/series/awk-one-liners-explained
An easy tip, the default action for a pattern is print $0, so you can make shorter several one-liners, e.g. for print all lines
awk &#039;{print 0}&#039; file_name  ==&gt;  awk &#039;1&#039; file_name]]></description>
		<content:encoded><![CDATA[<p>Hi, good collection of one-liners. Eric Pement has already awk1line.txt and Peteris Krumis explain them in a very detailed way. So take a look here<br />
<a href="http://www.catonmat.net/series/awk-one-liners-explained" rel="nofollow">http://www.catonmat.net/series/awk-one-liners-explained</a><br />
An easy tip, the default action for a pattern is print $0, so you can make shorter several one-liners, e.g. for print all lines<br />
awk &#8216;{print 0}&#8217; file_name  ==&gt;  awk &#8217;1&#8242; file_name</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://nixshell.wordpress.com/2009/04/01/awk-one-liners/#comment-5342</link>
		<dc:creator><![CDATA[Andrew]]></dc:creator>
		<pubDate>Tue, 09 Nov 2010 02:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://nixshell.wordpress.com/?p=98#comment-5342</guid>
		<description><![CDATA[Excellent list of awk commands. This is inspiring for a beginner like myself.]]></description>
		<content:encoded><![CDATA[<p>Excellent list of awk commands. This is inspiring for a beginner like myself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: unixshell</title>
		<link>http://nixshell.wordpress.com/2009/04/01/awk-one-liners/#comment-5294</link>
		<dc:creator><![CDATA[unixshell]]></dc:creator>
		<pubDate>Thu, 18 Mar 2010 22:10:50 +0000</pubDate>
		<guid isPermaLink="false">http://nixshell.wordpress.com/?p=98#comment-5294</guid>
		<description><![CDATA[Good spot!]]></description>
		<content:encoded><![CDATA[<p>Good spot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fmpdmb</title>
		<link>http://nixshell.wordpress.com/2009/04/01/awk-one-liners/#comment-5293</link>
		<dc:creator><![CDATA[fmpdmb]]></dc:creator>
		<pubDate>Thu, 18 Mar 2010 18:29:59 +0000</pubDate>
		<guid isPermaLink="false">http://nixshell.wordpress.com/?p=98#comment-5293</guid>
		<description><![CDATA[Minor corrections:

List all files names whose file size greater than zero.

ls –al &#124;awk &#039;$5 &gt; 0 {print $8}&#039;

List all files whose file size equal to 512bytes.

ls –al &#124;awk &#039;$5 == 512 {print $8}&#039;]]></description>
		<content:encoded><![CDATA[<p>Minor corrections:</p>
<p>List all files names whose file size greater than zero.</p>
<p>ls –al |awk &#8216;$5 &gt; 0 {print $8}&#8217;</p>
<p>List all files whose file size equal to 512bytes.</p>
<p>ls –al |awk &#8216;$5 == 512 {print $8}&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: unixshell</title>
		<link>http://nixshell.wordpress.com/2009/04/01/awk-one-liners/#comment-5249</link>
		<dc:creator><![CDATA[unixshell]]></dc:creator>
		<pubDate>Thu, 02 Apr 2009 00:22:55 +0000</pubDate>
		<guid isPermaLink="false">http://nixshell.wordpress.com/?p=98#comment-5249</guid>
		<description><![CDATA[I&#039;ve also removed the leading &quot;$&quot; symbols, for better copy/paste]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve also removed the leading &#8220;$&#8221; symbols, for better copy/paste</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: unixshell</title>
		<link>http://nixshell.wordpress.com/2009/04/01/awk-one-liners/#comment-5248</link>
		<dc:creator><![CDATA[unixshell]]></dc:creator>
		<pubDate>Thu, 02 Apr 2009 00:13:28 +0000</pubDate>
		<guid isPermaLink="false">http://nixshell.wordpress.com/?p=98#comment-5248</guid>
		<description><![CDATA[You are right; I hadn&#039;t noticed that, thanks. I&#039;ll fix it.]]></description>
		<content:encoded><![CDATA[<p>You are right; I hadn&#8217;t noticed that, thanks. I&#8217;ll fix it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Mohr</title>
		<link>http://nixshell.wordpress.com/2009/04/01/awk-one-liners/#comment-5247</link>
		<dc:creator><![CDATA[Paul Mohr]]></dc:creator>
		<pubDate>Thu, 02 Apr 2009 00:11:49 +0000</pubDate>
		<guid isPermaLink="false">http://nixshell.wordpress.com/?p=98#comment-5247</guid>
		<description><![CDATA[It is very interesting stuff. I ran into something very odd while trying out your examples. It seems that the CSS for section code uses a font-family Courier New. What is odd is that all my browsers display right slanting single quotes with a different font in the CSS code{} section. (gotta love Firebug) With the font that is selected there, I get some left slanting quotes. The issue, as you surely know, is that left slanters have a &lt;em&gt;very&lt;/em&gt; different meaning in the shell. Nice blog, thank you for the information.]]></description>
		<content:encoded><![CDATA[<p>It is very interesting stuff. I ran into something very odd while trying out your examples. It seems that the CSS for section code uses a font-family Courier New. What is odd is that all my browsers display right slanting single quotes with a different font in the CSS code{} section. (gotta love Firebug) With the font that is selected there, I get some left slanting quotes. The issue, as you surely know, is that left slanters have a <em>very</em> different meaning in the shell. Nice blog, thank you for the information.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
