Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
atombender
5y ago
0 comments
Share
If by pain you mean you have to handle errors, yes, that's what you have to do. It's no different from checking the return code of functions in C.
undefined | Better HN
0 comments
default
newest
oldest
zwkrt
5y ago
But there are tools that don't follow this paradigm. Famously, grep fails with err=1 if it doesn't find a match, even though 'no match' is a perfectly valid result of a search.
fomine3
5y ago
Yes. So I don't use set -e.
1 more reply
j
/
k
navigate · click thread line to collapse