3 ms·
Stop bashing on bash. It has limitations, and quoting takes a hot minute to grok, but those don't come into play for a surprising amount of medium-large projec
by majou 4y ago
Stop bashing on bash.
It has limitations, and quoting takes a hot minute to grok, but those don't come into play for a surprising amount of medium-large projects when used properly.
I use POSIX sh only and get by with maintainability and handling failure modes just fine.
- whateveracct 4y agoShellCheck and unofficial strict mode make bash a pretty nice language.
- thayne 4y agoBash is great for cases where you are gluing together a bunch of other commands. But it also has a lot of pitfalls, that something as large and complex as this will absolutely run into (to be fair, so does c). As a specific example, the ACME protocol requires working with json. Doing this in bash is very difficult and error prone, especially if you want to avoid a dependency on something like jq, as this does.