Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why doesn't Bash's `set -e` do what I expected?. Parent comment
Status=0
Somecommand || status=$?
Then do logic based on status
There are no comments on this comment yet.
Status=0
Somecommand || status=$?
Then do logic based on status