emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#28468: closed (Bug in wc -l found)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#28468: closed (Bug in wc -l found)
Date: Fri, 15 Sep 2017 15:56:02 +0000

Your message dated Fri, 15 Sep 2017 09:55:16 -0600
with message-id <address@hidden>
and subject line Re: bug#28468: Bug in wc -l found
has caused the debbugs.gnu.org bug report #28468,
regarding Bug in wc -l found
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
28468: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28468
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Bug in wc -l found Date: Fri, 15 Sep 2017 09:03:24 +0000

Dear GNU Team,

 

seems I found a bug in wc, have a look:

 

 

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!

 

THX

Rob

 

 

Mit freundlichen Gruessen

 

Robert Weidner

FAS Architektur / zFAS Plattform Test

 

BFFT Gesellschaft für Fahrzeugtechnik mbH

 

Im Auftrag der AUDI AG

I/EE-31, extern

85045 Ingolstadt

M: +49 (0) 1520-3427 961

mailto:address@hidden

www.audi.com

 

Dr.-Ludwig-Kraus-Straße 2,  85080 Gaimersheim, Headquarter 3.OG

 

BFFT Gesellschaft für Fahrzeugtechnik mbH | Dr.-Ludwig-Kraus-Straße 2 | 85080 Gaimersheim

GmbH mit Hauptsitz in Gaimersheim | AG: Ingolstadt - HRB 2775

Geschäftsführung: Markus Fichtner, Michael Mittag | UST-Id Nr. DE 812 875 182

 

Attachment: monitore-serNr_all-run2.txt
Description: monitore-serNr_all-run2.txt


--- End Message ---
--- Begin Message --- Subject: Re: bug#28468: Bug in wc -l found Date: Fri, 15 Sep 2017 09:55:16 -0600 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
tag 28468 notabug
stop

Hello Rob,

On 2017-09-15 03:03 AM, Weidner, Robert (I/EE-31, extern) wrote:
> seems I found a bug in wc, have a look:

[[
the attach screen shot shows:
    $ wc -l monitore-serNr_all-run2.txt
    16
while the attached file appears to have 17 lines.
]]

This is not a bug, but the expected behavior.
The file you attached does not have a '\n' character
at the end of the last line.

Technically, 'wc' counts the number of '\n' characters,
not the number of appeared lines.

This is explained here:
   http://www.pixelbeat.org/docs/coreutils-gotchas.html#wc


As such, I'm marking this as not-a-bug, but discussion can
continue by replying to this thread.

regards,
 - assaf



--- End Message ---

reply via email to

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