3 ms·
You have to understand the domain in which its intended to be used. Bash scripts are essentially automating what you could do at the command line with utility
by SoftTalker 2y ago
You have to understand the domain in which its intended to be used.
Bash scripts are essentially automating what you could do at the command line with utility programs, pipes, redirects, filters, and conditionals.
If you're getting very far outside of that scope, bash is probably the wrong tool (though it can be bent to do just about anything if one is determined enough).
- danielvaughn 2y agoI don't know too much about the history, but wasn't this one of the original motivations for Python? Like it was meant to be basically "bash scripting but with better ergonomics", or something like that.
- okwhateverdude 2y agoYou might thinking of Perl. Affectionately known as the swiss army chainsaw of programming languages, it incorporated elements from bash, awk, sed, etc and smushed them together into a language that carried the early Web.
- collyw 2y agoSounds more like Perl. I do miss Perl. It was far nicer than Python as a bash replacement. Python is better for larger projects in my opinion, as Perl is too flexible and expressive.