3 ms·
> ... learn bash. I've been writing bash code regularly for my entire 20 year career. I'm not convinced that I've "learned bash" yet. Bash has too many diffe
by mywittyname 2y ago
> ... learn bash.
I've been writing bash code regularly for my entire 20 year career. I'm not convinced that I've "learned bash" yet.
Bash has too many different ways of doing things, and it can be hard to determine which variant is the right way.
- hedora 2y agoAgreed. For instance, the piped bc sed thing's error handling is apparently broken, and no one has pointed that out yet. pipefail and $() don't play nice with each other: #!/bin/bash set -euo pipefail echo $(false|true) echo a echo $(false) echo b false echo c Prints 'ab'.