Re: [hackers] [PATCH][sbase] cmp: Make output POSIX compliant
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 <richardipsum_AT_fastmail.co.uk> wrote:
>- printf("%s %s differ: byte %zu, line %zu\n",
>+ printf("%s %s differ: char %zu, line %zu\n",
Received on Sun May 19 2019 - 22:42:56 CEST
This archive was generated by hypermail 2.3.0
: Sun May 19 2019 - 22:48:23 CEST