Skip to content

comm: print no total when --check-order stops at unsorted input - #16598

Merged
cakebaker merged 1 commit into
uutils:mainfrom
binhvq:comm-total-after-order-error
Nov 18, 2026
Merged

cakebaker merged 1 commit into
uutils:mainfrom
binhvq:comm-total-after-order-error

Conversation

@binhvq

@binhvq binhvq commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

With --check-order, comm stops at the first unsorted line and exits with an error, but --total still printed a summary of the lines compared so far. Skip the total in that case.

Closes #16597

@cakebaker
cakebaker merged commit 5eb4c08 into uutils:main Nov 18, 2026
104 of 108 checks passed
@cakebaker

Copy link
Copy Markdown
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

comm: --total is printed after --check-order stops at unsorted input

2 participants