1

Is there an equivalent of the gzip utility zdiff(1), but for zstandard?

I have not been able to find anything in the zstandard repository other than zstdgrep and zstdless.

Paulo Tomé
  • 3,754
  • 6
  • 26
  • 38
razeh
  • 569
  • 1
  • 4
  • 4
  • `zdiff` is just a shell script. Here is my implementation of `zstddiff`: `zstddiff(){ diff <(zstdcat "$1") <(zstdcat "$2"); }` –  Feb 13 '20 at 17:18

1 Answers1

2

The answer to your question is not yet, but soon to be. According to this recent issue idea/request for help: zstd as a binary diff producer/patcher? in its Github repository, it is stated that:

We will likely introduce a new cli command --diff-from=#. More on this soon.

Paulo Tomé
  • 3,754
  • 6
  • 26
  • 38
  • That has OBVIOUSLY nothing to do with it. `zdiff` is not a "binary diff producer" as described in that issue, it just calls plain old `diff(1)` on two files compressed with gzip. –  Feb 13 '20 at 23:32