▲ 107 ▼ Error handling in bash (notifox.com) submitted 5 months ago by BlackEco@lemmy.blackeco.com to c/programming@programming.dev 29 comments fedilink hide all child comments
[–] Feyd@programming.dev 4 points 5 months ago (1 child) Ehhh I don't think I've used bash outside of random stuff on my machine in years except in CI pipelines and wanting them to stop and fail the pipeline the second anything goes wrong is exactly what I want. permalink fedilink source parent hideshow 2 child comments replies: [–] thingsiplay@lemmy.ml 2 points 5 months ago I do not want to think about every possible error that can happen. I do not want to study every program I call to look for any possible errors. Only errors that are important to my task. As I said, there are reasons to use this option when the script MUST fail on error.And its helpful for creating the script. I just don't like generalizations to always enable this option. permalink fedilink source parent
[–] thingsiplay@lemmy.ml 2 points 5 months ago I do not want to think about every possible error that can happen. I do not want to study every program I call to look for any possible errors. Only errors that are important to my task. As I said, there are reasons to use this option when the script MUST fail on error.And its helpful for creating the script. I just don't like generalizations to always enable this option. permalink fedilink source parent