|
From: | L. A. Walsh |
Subject: | bug#9019: wc -l bug |
Date: | Sun, 10 Jul 2011 12:16:01 -0700 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Thunderbird/2.0.0.24 Mnenhy/0.7.6.666 |
Andrey Sheyko wrote:
Hello! I've found out that wc -l doen't count the last line if there is no CR in the end of line
It's the 'CR' (or NL) at the end of the line that makes it a "new line"... without that, you just have text appended to the end of the file...
[Prev in Thread] | Current Thread | [Next in Thread] |