Hello, just as a quick note: the "byte" wording was used deliberately, as POSIX makes the common mistake to mistake one for the other. Given sbase/ubase should be better than that, we decided to clarify here that cmp really just counts bytes rather than characters.
If you know a script that breaks from it, it is a good reason to change it, but in my opinion a much clearer interactive response is much more important. Come to think of it, the output is hard to parse anyway. With best regards Laslo On May 19, 2019 3:37:01 PM UTC, Richard Ipsum <[email protected]> wrote: >- printf("%s %s differ: byte %zu, line %zu\n", >+ printf("%s %s differ: char %zu, line %zu\n",
