> mjd@plover.com writes: > > Since /bin/false exited with non-zero status, $! should be set to 0. > > However, it is instead set to the empty string. > > Do you remember that $! is double-headed? It has both numeric and > string values... Maybe the documentation is at fault, then. I don't see why the current behavior is not simply described by If the only problem was that the program exited non-zero $! will be set to the empty string.