logoalt Hacker News

vdmtoday at 7:33 AM1 replyview on HN

> We can assign the value of $? to an environment variable

exit_code is not an environment variable?

https://www.gnu.org/software/bash/manual/html_node/Shell-Par...


Replies

Meetveldetoday at 7:58 AM

Oops, pretty sure I meant a regular variable. Will modify the post, thanks for pointing this out.