On 01/07/2022 11:29, Pádraig Brady wrote:
On 28/06/2022 21:06, наб wrote:
retitle -1 1014008 coreutils: comm --output-delimiter= (empty) separates with a
single NUL, not the empty string, vice versa for --total
thanks
The only thing suitable for posting is "lmao". As the title says:
$ comm --total --output-delimiter= <(echo a; echo b) <(echo a) | cat -A
^@^@a$
b$
101total$
Support for the NUL delimiter was explicitly added with:
https://github.com/coreutils/coreutils/commit/0e46753d7
You're correct that the support / docs are inconsistent,
especially with the subsequently added --total option.
I'll fix the docs and --total option upstream.
Addressed upstream at:
https://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=708ae170c