Subject: bug#70873: join --return-error-if-any-unmatched-lines

From: Pádraig Brady <[email-masked]>
Date: Sat, 11 May 2024 11:43:21 +0100

On 11/05/2024 10:14, Dan Jacobson wrote:
> join should have an option to return an error value in the shell's $?
> if any lines are not matched.
> 
> Currently the man page doesn't even mention a return value. So it is not
> set in stone yet.
> 
> Currently one must save -v output in a file then use test -s do detect
> if there were any non-matched lines. And then exit one script with
> non-zero. Big hassle.
> 
> join (GNU coreutils) 9.4

This does seem to have some merit.
Perhaps --check-pairable similar to the existing --check-order option.

cheers,
Pádraig