Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Return value will be the sum of exit values of each command.

That's unforuntate design choice.

Exit status is 8-bit only, and some programs exit with high numbers¹, so the sum could overflow easily.

¹ For example, when a Perl program dies, exit status is 255.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: