coreutils 0.10.0 (multi-call binary), latest commit uutils comm hangs: ``` printf 'test' | ./comm - - ``` gnu comm behaves differently: ``` printf 'test' | gnucomm - - test gnucomm: - ``` gnu comm's behavior seems non-deterministic, with larger inputs it leaves stray leftovers and cuts lines based on glibc stdio buffer sizes. Possible solutions would be to a) replicate gnu comm's behavior or b) reject "- -" as arguments
Activity
oech3 commentedon Aug 28, 2026
collinfunk commentedon Aug 28, 2026
Hanging probably isn't the best behavior, but a POSIX conforming application can choose to do that if they want [1]:
Also, that makes coreutils' behavior conformant.
[1] https://pubs.opengroup.org/onlinepubs/9799919799/utilities/comm.html
cakebaker commentedon Oct 12, 2026
Fixed with #15249