Mail Archives: djgpp-workers/2000/07/22/09:28:12
Hello.
I think there may be a bug in bash 2.03's handling of compound commands.
For instance, if 'bob' does not exist, then you'd expect $? to be set to
127 after trying to execute it. However, I found the following:
DJGPP: "(bob); echo $?" -> 0 displayed
Linux: "(bob); echo $?" -> 127 displayed
For comparison:
bob; echo $?
produces 127 for both DJGPP's and Linux's bash.
If this problem has been discussed before, I apologise for bringing it up
again - I don't remember & can't find it being discussed.
Thanks, bye, Rich
--
Richard Dawe
[ mailto:richdawe AT bigfoot DOT com | http://www.bigfoot.com/~richdawe/ ]
- Raw text -