bug-coreutils
[Top][All Lists]
Advanced

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

Bug in wc


From: Arnaldo Mandel
Subject: Bug in wc
Date: Fri, 22 Aug 2008 16:08:48 -0300

Dear maintainers,

There is a bug in the implementation of the -L parameter in wc.
It is triggered by 

http://www.ime.usp.br/~am/122/eps/gapqm2.gz

Check this out:

$ zcat gapqm2.gz |wc -l -c -L
      1 6297954 6353180

That is, the single line is longer than the whole file.

This was pointed out by 

  William A. M. Gnann <address@hidden>

Have fun!

-- 
Arnaldo Mandel                        
Departamento de Ciência da Computação - Computer Science Department
Universidade de São Paulo, Bra[sz]il      
address@hidden
Talvez você seja um Bright http://the-brights.net Maybe you are a Bright.




reply via email to

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