Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
atombender
6y ago
0 comments
Save
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.
0 comments
2 comments · 2 top-level
top
newest
oldest
zwkrt
6y 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
6y ago
Yes. So I don't use set -e.
1 more reply
j
/
k
navigate · click thread line to collapse