keltia/dmarc-cat

`-t` required in non-stdin mode

kyrias opened this issue · 4 comments

dmarc-cat currently always uses -t/fType to decide what kind of compression is in use whenever it isn't in the non-standard .zip format, even when you specify a filename.

I believe this fixes the issue. themactep@7df667c

Neverless dmarc-cat only gets file name from zip files. Wouldn't it be nice to determine standard .gz files?

@themactep you didn't open a PR so I just took your commit with attribution.

To all: I must improve type detection/choices, agreed.

Neverless dmarc-cat only gets file name from zip files. Wouldn't it be nice to determine standard .gz files?

I have only the filename to work with but yes I can do better.