bug-coreutils
[Top][All Lists]
Advanced

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

Re: Bug in wc


From: Jim Meyering
Subject: Re: Bug in wc
Date: Fri, 22 Aug 2008 21:28:23 +0200

Arnaldo Mandel <address@hidden> wrote:
> 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>

Thanks for reporting it and for giving credit.
FYI, here's a smaller reproducer:

  $ printf '\t'|wc -L
  8




reply via email to

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