3 ms·
The problem I keep hitting is that the standard library of <language> is frequently not as strong as GNU, so then I install a bunch of packages globally and its
by internetter 2y ago
The problem I keep hitting is that the standard library of <language> is frequently not as strong as GNU, so then I install a bunch of packages globally and its a mess.
Edit: I think there's room for a language with modern control flow that just wraps bash. Like if (true) { cat("path") }
- louwrentius 2y agoA virtual env works fine for this, there's no real reason not to use then in my view.
- internetter 2y agoBut that's a lot more work than a simple bash script
- louwrentius 2y agoPython -m venv dirname . dirname/bin/activate I beg to differ
- Retr0id 2y agoThe boilerplate can be a bit ugly, but you can invoke CLI tools from python just fine. The result is not particularly "pythonic" but I think it beats a pure bash script if there's non-trivial business logic.