GNU bug report logs - #28468
Bug in wc -l found

Previous Next

Package: coreutils;

Reported by: "Weidner, Robert (I/EE-31, extern)" <extern.robert.weidner <at> audi.de>

Date: Fri, 15 Sep 2017 15:38:02 UTC

Severity: normal

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ruediger Meier <sweet_f_a <at> gmx.de>
To: 28468 <at> debbugs.gnu.org
Cc: extern.robert.weidner <at> audi.de
Subject: bug#28468: Bug in wc -l found
Date: Fri, 15 Sep 2017 17:50:25 +0200
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 <at> 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




This bug report was last modified 7 years and 307 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.