Re: [PATCH 8/8] check-whitespace: detect if no base_commit is provided
- From
Chris Torek <chris.torek@gmail.com>
- Date
- Jul 8, 2024, 10:42 UTC
- Message-ID
- <CAPx1GvcunqYvZtkSJ0wDd4802VPEyRzDJnZmfoGh6L1rFof2vQ@mail.gmail.com>
- In-Reply-To
- <d3921679-eeb8-4cca-bc0d-967e9e567fd4@syscid.com>
On Mon, Jul 8, 2024 at 3:35 AM Georg Pfuetzenreuter <georg@syscid.com> wrote:
Show 6 quoted lines
> 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