Re: [PATCH v2] test_cmp: diagnose incorrect arguments
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Aug 12, 2020, 16:39 UTC
- Message-ID
- <CAPig+cSzLcVdzjoacm6=7mDAhUn8j06Z0LXo7r1LMC7Dx_2JZA@mail.gmail.com>
- In-Reply-To
- <CAPig+cQNvJ02fm82oBtyyxHUqfNk3oAZJW__Lu2Kn0Qt3VaDWw@mail.gmail.com>
On Wed, Aug 12, 2020 at 12:15 PM Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 8 quoted lines
> On Wed, Aug 12, 2020 at 11:37 AM Jeff King <peff@peff.net> wrote: > > I don't think this is an error. The program can tell which you meant by > > the number of arguments. POSIX lays out some rules here (from "man > > 1posix test" on my system, but I'm sure you can find it online): > > I intentionally didn't focus on or mention POSIX in my response > because I wanted to represent the Real World reason why "x$var" is > such a common idiom. [...]
I probably should have done a better job in my original response to Taylor to make it clear that I was talking about Real World (even if old) rather than POSIX.