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?

Reply via email to