3 ms·
> But I dream about how the world would be if Bash were actually a good scripting language. It compares favorably to csh, and I fear that's about the best you c
by AceJohnny2 8y ago
> But I dream about how the world would be if Bash were actually a good scripting language. It compares favorably to csh, and I fear that's about the best you can say for it.
I finally started appreciating Perl after having to write some nontrivial Bash scripts.
(My hierarchy is: default to Bash when my task is mostly running commands. If there's a bit of text-processing or regex required, Perl. If I need any hierarchical datastructures, Python)
- sethrin 8y agoI think that the simple expression of this might be that Bash is a command language, not a scripting language.
- nerdponx 8y agoYou might enjoy Zsh.
- 3rdAccount 8y agoHaha, I came to the same conclusions. Perl can do nested data structures, but it ain't easy. With Python, I did it without knowing it was a thing.
- ryl00 8y agoWhat's difficult about hierarchial data structures in Perl?
- vgy7ujm 8y agoAgreed, it's rather one of Perl's strengths.
- AceJohnny2 8y agoThe need for references.