On 8/23/17 3:57 PM, Eric Blake wrote: >>> EXPR1 -a EXPR2 True if both expr1 AND expr2 are true. >>> EXPR1 -o EXPR2 True if either expr1 OR expr2 is true. >> >> Why update the help documentation? Bash supports it. It's just deprecated >> in the posix standard. > > Not just deprecated, but inherently ambiguous.
And that's why it's deprecated. However, working code will continue to work, and new code that is (unwisely) written to use more than four arguments will work in the unambiguous situations. And we'll continue to recommend that people stick to conditional expressions with four arguments or fewer and combine them using and/or lists. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/