/bin/expr from sh-utils v2.0

While trying to port various UNIX programs to QNX4 I noticed that in some
…/configure scripts the /bin/expr is used.
(I use some bash v2.05 port to run the ./configure)

Very often the original /bin/expr blows it’s stack while determining the
maximum command line length. If it blows - the script reports that the
maximum is 193.

I’ve compiled the “expr” from the GNU “sh-utils v2.0” package and built it
with 16Mb stack. Now all the “./configure”'s that were blowing the
original /bin/expr do report the maximum command line length == 24577 and
“expr” blows no more.

What is the correct answer - 193 or 24577? Or neither of those?


Tony.