zcmp fails on .svgz files. I suspect that zcmp doesn't recognized the .svgz extension, though rather common. The zcmp(1) man page doesn't require anything about the extension, and zcmp should behave as documented. To reproduce: $ echo foo > file $ gzip file $ cp file.gz file.svgz $ cmp file.gz file.svgz $ zcmp file.gz file.svgz - file.svgz differ: char 1, line 1
Vincent Lefevre <vincent@vinc17.net> writes: I've never seen a .svgz extension. What's it supposed to mean? Bdale
gzipped SVG. There are more than 1 million matches of "svgz" on Google, and it's in Debian's /etc/mime.types file: image/svg+xml svg svgz and it's referenced by Wikipedia: https://en.wikipedia.org/wiki/Scalable_Vector_Graphics (see infobox).