3 ms·
Just use a better shell. rc handles this wonderfully, $? is actually called $status, and it's an array, depending on the number of pipes.
by codemac 6y ago
Just use a better shell. rc handles this wonderfully, $? is actually called $status, and it's an array, depending on the number of pipes.