Arnaldo Mandel <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>

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

  $ printf '\t'|wc -L
  8


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to