in reply to Re^2: return value from system call, exit status, shift right 8, bitwise and, $?
in thread return value from system call, exit status, shift right 8, bitwise and, $?

No typo. The 8th bit is bit 7. They're numbered from 0
  • Comment on Re^3: return value from system call, exit status, shift right 8, bitwise and, $?