Hacker News new | past | comments | ask | show | jobs | submit login

I mean, it's possible, but it's not exactly pretty, and it won't necessarily work in all POSIX compliant shells either (although I believe it will in most, but I didn't test – things the trap execution order and exact status codes are not exactly defined IIRC).



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

Search: