<?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: Easily add line numbers to a text file</title>
	<atom:link href="http://osxdaily.com/2010/05/20/easily-add-line-numbers-to-a-text-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://osxdaily.com/2010/05/20/easily-add-line-numbers-to-a-text-file/</link>
	<description>News, tips, software, reviews, and more for Mac OS X, iPhone, iPad</description>
	<lastBuildDate>Sat, 25 May 2013 20:42:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: AsadChohan</title>
		<link>http://osxdaily.com/2010/05/20/easily-add-line-numbers-to-a-text-file/#comment-396739</link>
		<dc:creator>AsadChohan</dc:creator>
		<pubDate>Sun, 10 Jun 2012 06:42:26 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=3425#comment-396739</guid>
		<description>How to replace : in 
awk &#039;{printf(&quot;%5d : %s\n&quot;, NR,$0)}&#039; filename &gt; filenamenumbered
with &#124; 

please help</description>
		<content:encoded><![CDATA[<p>How to replace : in<br />
awk &#8216;{printf(&#8220;%5d : %s\n&#8221;, NR,$0)}&#8217; filename &gt; filenamenumbered<br />
with | </p>
<p>please help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SunKing2</title>
		<link>http://osxdaily.com/2010/05/20/easily-add-line-numbers-to-a-text-file/#comment-382431</link>
		<dc:creator>SunKing2</dc:creator>
		<pubDate>Thu, 26 Apr 2012 19:55:56 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=3425#comment-382431</guid>
		<description>thankx!  Gee nl.  wow easy.   :)</description>
		<content:encoded><![CDATA[<p>thankx!  Gee nl.  wow easy.   <img src='http://cdn.osxdaily.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lucas</title>
		<link>http://osxdaily.com/2010/05/20/easily-add-line-numbers-to-a-text-file/#comment-156424</link>
		<dc:creator>Lucas</dc:creator>
		<pubDate>Tue, 04 Jan 2011 19:22:51 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=3425#comment-156424</guid>
		<description>Thanks for the command. I&#039;ve adapted the command to add C-style comments with counts and added it to http://www.commandlinefu.com/commands/view/7562/add-line-number-count-as-c-style-comments.</description>
		<content:encoded><![CDATA[<p>Thanks for the command. I&#8217;ve adapted the command to add C-style comments with counts and added it to <a href="http://www.commandlinefu.com/commands/view/7562/add-line-number-count-as-c-style-comments" rel="nofollow">http://www.commandlinefu.com/commands/view/7562/add-line-number-count-as-c-style-comments</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Ellis</title>
		<link>http://osxdaily.com/2010/05/20/easily-add-line-numbers-to-a-text-file/#comment-101836</link>
		<dc:creator>Bill Ellis</dc:creator>
		<pubDate>Thu, 20 May 2010 18:47:55 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=3425#comment-101836</guid>
		<description>Thanks Bernhard and Steven, I didn&#039;t know about either of those methods. Post has been updated!</description>
		<content:encoded><![CDATA[<p>Thanks Bernhard and Steven, I didn&#8217;t know about either of those methods. Post has been updated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Simmons</title>
		<link>http://osxdaily.com/2010/05/20/easily-add-line-numbers-to-a-text-file/#comment-101833</link>
		<dc:creator>Steven Simmons</dc:creator>
		<pubDate>Thu, 20 May 2010 17:55:36 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=3425#comment-101833</guid>
		<description>Nice call on cat - I didn&#039;t know that one. I think in order of increasing flexibility: cat, nl, awk.</description>
		<content:encoded><![CDATA[<p>Nice call on cat &#8211; I didn&#8217;t know that one. I think in order of increasing flexibility: cat, nl, awk.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bernhard Essl</title>
		<link>http://osxdaily.com/2010/05/20/easily-add-line-numbers-to-a-text-file/#comment-101829</link>
		<dc:creator>Bernhard Essl</dc:creator>
		<pubDate>Thu, 20 May 2010 16:21:14 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=3425#comment-101829</guid>
		<description>The command cat can do the same:

cat -n file &gt; file_new</description>
		<content:encoded><![CDATA[<p>The command cat can do the same:</p>
<p>cat -n file &gt; file_new</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Simmons</title>
		<link>http://osxdaily.com/2010/05/20/easily-add-line-numbers-to-a-text-file/#comment-101827</link>
		<dc:creator>Steven Simmons</dc:creator>
		<pubDate>Thu, 20 May 2010 16:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=3425#comment-101827</guid>
		<description>Note that there is a specific tool for this: nl. This command should get you the same output as the more complicated awk above

  nl -ba -s &#039;: &#039; filename &gt; filenamenumbered</description>
		<content:encoded><![CDATA[<p>Note that there is a specific tool for this: nl. This command should get you the same output as the more complicated awk above</p>
<p>  nl -ba -s &#8216;: &#8216; filename &gt; filenamenumbered</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/3 queries in 0.002 seconds using disk: basic
Object Caching 259/260 objects using disk: basic
Content Delivery Network via cdn.osxdaily.com

Served from: osxdaily.com @ 2013-05-25 17:27:58 -->