[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
expr ... and `expr ...` return different results on QNX 4.2.5
From: |
David Morgan |
Subject: |
expr ... and `expr ...` return different results on QNX 4.2.5 |
Date: |
Wed, 29 Nov 2000 11:23:19 -0800 |
Hi folks,
Thanks for the changes by including as_expr there is a problem with the test,
and/or another bug in QNX (I suspect).
The code:
expr a : '\(a\)'
echo $?
b=`expr a : '\(a\)'`
echo $b,$?
Gives:
a
1
a,0
The `` seem to affect the return code from the expr.
This means QNX still thinks it has a working expr. Looks like this needs a
different sort of test.
Once I tell QNX that it does not have a working expr (and I fix the
CONFIG_FILES issue) then I can successfully run make.
Regards
David
- expr ... and `expr ...` return different results on QNX 4.2.5,
David Morgan <=
- Re: expr ... and `expr ...` return different results on QNX 4.2.5, akim, 2000/11/29
- Re: expr ... and `expr ...` return different results on QNX 4.2.5, Pavel Roskin, 2000/11/29
- Re: expr ... and `expr ...` return different results on QNX 4.2.5, David Morgan, 2000/11/29
- Re: expr ... and `expr ...` return different results on QNX 4.2.5, Pavel Roskin, 2000/11/29
- Re: expr ... and `expr ...` return different results on QNX 4.2.5, Akim Demaille, 2000/11/30
- Re: expr ... and `expr ...` return different results on QNX 4.2.5, Paul Eggert, 2000/11/30
- Re: expr ... and `expr ...` return different results on QNX 4.2.5, Pavel Roskin, 2000/11/30
- Re: expr ... and `expr ...` return different results on QNX 4.2.5, Lars J. Aas, 2000/11/30
- Re: expr ... and `expr ...` return different results on QNX 4.2.5, David Morgan, 2000/11/30
- FYI: Reading the $? of an assignment (Was: expr ... and `expr ...` return different results on QNX 4.2.5), Akim Demaille, 2000/11/30