[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: test: -a and -o not portable? Since when?
From: |
Paul Eggert |
Subject: |
Re: test: -a and -o not portable? Since when? |
Date: |
Sun, 13 Mar 2011 08:22:41 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 |
On 03/13/2011 07:30 AM, Reuben Thomas wrote:
> They're specified in POSIX
They're marked as an obsolescent XSI extension in POSIX.1-2008.
That is, they're not required by POSIX, and even as an
optional extension they may go away in future versions.
The rationale explains why -a and -o are deprecated.
One thing that the rationale doesn't fully go into, though,
is that -a and -o are syntactically ambiguous in some
cases.