Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Trithon10275yTHIS!
i once lost about one hour because i didn't have extended regexes on >n<
really frustrating, lemme tell you! -
Frankly I'd hate it if this setting was ever default...
I prefer handling errors on my own. And appending calls with ||true sounds like a fucking pain.
I prefer checking return code where I need it and allowing it to fail silently where I don't need to care about it. -
It gets into a gray area when the error could occur on either side of a Bash pipe.
curl someApi.json | jq '.DeployVersion'
You can get a very different set of outputs depending on which failed , curl or jq!
Related Rants
#!/bin/bash
set -e ... Why the fuck were you never the default to begin with!?
rant
wk194