Bruno Haible <[EMAIL PROTECTED]> writes: > if test "$?" != 0 > I thought $? always expands to a non-empty sequence of digits. Are > you expecting a negative integer as value of "$?" ?
Even if $? were negative, usages like "test -1 != 0" would work on any host conforming to POSIX, as well as on all practical hosts that I know of. (But it's not negative. :-)