<?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: Counting lines in Windows command prompt	</title>
	<atom:link href="https://rickardnobel.se/counting-lines-in-windows-command-prompt/feed/" rel="self" type="application/rss+xml" />
	<link>https://rickardnobel.se/counting-lines-in-windows-command-prompt/</link>
	<description>Specialists in IT infrastructure services</description>
	<lastBuildDate>Thu, 30 May 2024 18:15:23 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.6</generator>
	<item>
		<title>
		By: Br. Bill		</title>
		<link>https://rickardnobel.se/counting-lines-in-windows-command-prompt/#comment-481863</link>

		<dc:creator><![CDATA[Br. Bill]]></dc:creator>
		<pubDate>Thu, 30 May 2024 18:15:23 +0000</pubDate>
		<guid isPermaLink="false">https://rickardnobel.se/?p=894#comment-481863</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://rickardnobel.se/counting-lines-in-windows-command-prompt/#comment-479081&quot;&gt;Johny Why&lt;/a&gt;.

&quot;Blank Lines&quot; in this instance is not an &quot;empty line&quot;. It just means a completely empty string. Since the newline is a string, then no line is truly empty or blank. It always gives a correct count of the file lines.
I just created a file with 50 empty lines, and the 51st line says &quot;The 51st line&quot;. The result:

&#062; find /c /v &quot;&quot; 51_lines.txt

---------- 51_LINES.TXT: 51]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://rickardnobel.se/counting-lines-in-windows-command-prompt/#comment-479081">Johny Why</a>.</p>
<p>&#8220;Blank Lines&#8221; in this instance is not an &#8220;empty line&#8221;. It just means a completely empty string. Since the newline is a string, then no line is truly empty or blank. It always gives a correct count of the file lines.<br />
I just created a file with 50 empty lines, and the 51st line says &#8220;The 51st line&#8221;. The result:</p>
<p>&gt; find /c /v &#8220;&#8221; 51_lines.txt</p>
<p>&#8212;&#8212;&#8212;- 51_LINES.TXT: 51</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Page Caching using Disk: Enhanced 

Served from: rickardnobel.se @ 2026-07-21 21:05:41 by W3 Total Cache
-->