Re: test incorrectly rejecting valid expression with confusing ! placement

2013-08-26 Thread Harald van Dijk
On 26/08/13 13:19, Thorsten Glaser wrote: > Harald van Dijk dixit: > >> $ src/dash -c 'test ! ! = !' >> src/dash: 1: test: =: unexpected operator >> >> POSIX requires special behaviour for four-argument tests: > > Right but… > >> There are also some cases where test gives incorrect results when

Re: test incorrectly rejecting valid expression with confusing ! placement

2013-08-26 Thread Thorsten Glaser
Harald van Dijk dixit: >$ src/dash -c 'test ! ! = !' >src/dash: 1: test: =: unexpected operator > >POSIX requires special behaviour for four-argument tests: Right but… >There are also some cases where test gives incorrect results when >combining ! with -o … ‘-o’ is XSI, not POSIX. Do not expect