Re: [PATCH 8/8] check-whitespace: detect if no base_commit is provided
From: Chris Torek <hidden>
Date: 2024-07-08 10:42:23
From: Chris Torek <hidden>
Date: 2024-07-08 10:42:23
On Mon, Jul 8, 2024 at 3:35 AM Georg Pfuetzenreuter [off-list ref] wrote:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html states "The XSI extensions specifying the -a and -o binary primaries and the '(' and ')' operators have been marked obsolescent." suggesting "&&" being preferred over "-a".
That's annoying, I wonder why they did that. It does make the "test" parser a bit tricky, especially with empty expansions, but empty expansions are already a problem requiring careful quoting in the first place... Chris