|
From: | Pádraig Brady |
Subject: | bug#70873: join --return-error-if-any-unmatched-lines |
Date: | Sat, 11 May 2024 11:43:21 +0100 |
User-agent: | Mozilla Thunderbird Beta |
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
[Prev in Thread] | Current Thread | [Next in Thread] |