Thread (71 messages) 71 messages, 6 authors, 2024-07-24

Re: [PATCH 8/8] check-whitespace: detect if no base_commit is provided

From: Karthik Nayak <hidden>
Date: 2024-07-08 17:13:10

Chris Torek [off-list ref] writes:
On Mon, Jul 8, 2024 at 3:35 AM Georg Pfuetzenreuter [off-list ref] wrote:
quoted
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
Thanks both, I think with this, it makes sense to keep it as is.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help