WingNews logo WingNews
top | new | best | ask | show | jobs
top | item 46922027

(no title)

vdm | 22 days ago

> 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...

discuss

order

Meetvelde|22 days ago

Oops, pretty sure I meant a regular variable. Will modify the post, thanks for pointing this out.
powered by hn/api // news.ycombinator.com