#1014008 coreutils: comm --output-delimiter= (empty) separates with a single NUL, not the empty string, vice versa for --total

Package:
coreutils
Source:
coreutils
Description:
GNU core utilities
Submitter:
наб
Date:
2022-07-01 10:33:02 UTC
Severity:
normal
#1014008#5
Date:
2022-06-28 18:20:04 UTC
From:
To:
Dear Maintainer,

comm(1) says
       --output-delimiter=STR
              separate columns with STR
and this holds in all cases except where STR is the empty string:
  $ comm --output-delimiter=я <(echo a) <(echo a)
  яяa
  $ comm --output-delimiter=zupsko <(echo a) <(echo a)
  zupskozupskoa
  $ comm --output-delimiter= <(echo a) <(echo a) | cat -A
  ^@^@a$

Useful? Good? Undocumented? Surprising? How do you spec an actual empty
string, then? Expected? Bug? The documentation is that half-line,
so I leave these questions to you.

Best,
наб

#1014008#10
Date:
2022-06-28 20:06:14 UTC
From:
To:
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$

наб