On Wed, 2018-01-24 at 05:16 +0530, Chris Lamb wrote: > I wonder how sensible it would be to, say, slurp the first 100 bytes and see > whether we start with a "{" (or some other heuristic) and, if so, try and > parse the file as JSON etc.
I think it would make diffoscope very slightly more useful if it could fill in the gaps in MIME type detection for this and other cases. If it turns out to be too expensive then it could have an option. -- bye, pabs https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part