Akim Demaille wrote: > > | The script results are: > | > | . > | 1 > > Does it *always* fail, or it's just the operator | which does not > erase failures? > > expr 'a' : '\(a\)'; echo $? > > expr 'a' : '\(b\)' '|' 'a' : '\(a\)'; echo $? It always fails Both cases return 'a' and an exit code of 1. Looks like a buggy OS at this point as I tried the failure case of just expr 'a' : '\(b\)' ; echo $? And I get a 0 with no output. Regards David
- Re: Success (mostly) with the testsuite Akim Demaille
- Re: Success (mostly) with the testsuite David Morgan
- Re: Success (mostly) with the testsuite Pavel Roskin
- Re: Success (mostly) with the testsuite David Morgan
- Re: Success (mostly) with the testsuite Pavel Roskin
- Re: Success (mostly) with the testsuite David Morgan
- Re: Success (mostly) with the testsuite David Morgan
- Re: Success (mostly) with the testsuite Akim Demaille
- Re: Success (mostly) with the testsuite David Morgan
- Re: Success (mostly) with the testsuite Akim Demaille
- Re: Success (mostly) with the testsuite David Morgan
- Re: Success (mostly) with the testsuite Akim Demaille
- Re: Success (mostly) with the testsuite David Morgan
- Re: Success (mostly) with the testsuite Paul Eggert
- Re: Success (mostly) with the testsuite Akim Demaille
- Re: Success (mostly) with the testsuite Alexandre Oliva
- Re: Success (mostly) with the testsuite Akim Demaille
- Various systems (was: Success (mostly) with the t... Akim Demaille
- Re: Various systems (was: Success (mostly) with t... David Morgan
- Re: Various systems (was: Success (mostly) with t... Akim Demaille
- Re: Various systems (was: Success (mostly) with t... David Morgan