bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#28468: Bug in wc -l found


From: Ruediger Meier
Subject: bug#28468: Bug in wc -l found
Date: Fri, 15 Sep 2017 17:50:25 +0200
User-agent: KMail/1.9.10

On Friday 15 September 2017, Weidner, Robert (I/EE-31, extern) wrote:
> Dear GNU Team,
>
> seems I found a bug in wc, have a look:
>
> [cid:image001.png@01D32E12.3F5A7C20]
>
> Despite of it, I really want to say a BIG Thank you for great
> tool-set, especially tree, which I use for 20 years now!

This is not a bug. wc -l only counts newlines but the last line of your 
input file does not end with a newline, see
 
https://unix.stackexchange.com/questions/314256/wc-l-not-returning-correct-value/314258#314258


cu,
Rudi





reply via email to

[Prev in Thread] Current Thread [Next in Thread]