Hi David, Sorry for the delays. I find it hard to understand how broken your expr is. just to be sure, this refers to QNX 4.2.5 right? | > expr 'a' : '\(a\)' || echo failure | | Gives: | a | failure Here, $? is wrong, but the output is correct. | > expr 'a' : '\(b\)' && echo failure | | Gives: | 0 Result is wrong, $? right. | > expr 'a' : 'a' || echo failure | | Gives: | 1 Result and $? are right. | > expr 'a' : 'b' && echo failure | | Gives | 0 Result and $? are right. Man! Did I miss something? David, could you double check this is right? Paul, what do you think about this?
- Re: Success (mostly) with the testsuite Lars J. Aas
- Re: Success (mostly) with the testsuite Lars J. Aas
- 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 Alexandre Oliva
- Re: Success (mostly) with the testsuite Alexandre Oliva
- Re: Success (mostly) with the testsuite Akim Demaille
- Re: Success (mostly) with the testsuite Alexandre Oliva
- Re: Success (mostly) with the testsuite Akim Demaille
- Re: Success (mostly) with the testsuite Akim Demaille
- Re: Success (mostly) with the testsuite David Morgan
- Re: Success (mostly) with the testsuite Akim Demaille