Vincent Lefevre wrote...
> I forgot to say that the breakage with lesspipe is a regression.
> In Debian 8, it outputs "Netpbm PBM image text" instead of
> "Netpbm PPM image data". The new behavior makes the false positives
> more important.
as I'm not sure about the complete nature of your bug report, I have
to ask for clarification.
A part of your report is that file's description of
md5:ef44b2a63d39af69720be530e46a75fc (your second example) changed
between jessie and stretch as follows:
-Netpbm PBM image text, size = 82541 x 20, ASCII text
+Netpbm PPM image data, size = 82541 x, bitmap, ASCII text
However I cannot reproduce the problems with lesspipe you've reported,
Could you please provide a reproducer for that? Do you use some
non-standard/hand-crafted .lessfilter? The less package doesn't depend
on file so I cannot see how file(1) is involved here.
Don't get me wrong, I'm interested in fixing this. But I'd like to see
it with my own eyes first.
Christoph
PS For the records, upstream commit is ac5dcff, cherry-pick
f9c8b02 to fix the build error.