mike / stok.co.uk (Mike Stok) writes:

>   exit_status = ($? & 0xff00) >> 8

                   $? >> 8 ... equivalent, no?

> If the program you were calling really did an "exit(127)" then you might have
> to dig deeper, but $? contains some extra information,

The program I called set the exit code randomly. Damn.

YS.