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