3 ms·
Use Python? Most of the time I find myself struggling with Bash, it's because a simple script has kept expanding in scope and I'm well into the sunk-cost falla
by XorNot 12y ago
Use Python?
Most of the time I find myself struggling with Bash, it's because a simple script has kept expanding in scope and I'm well into the sunk-cost fallacy in trying to fix "just that one last thing".
But unless you have a really specific environment, I'm pretty sure most modern servers probably have Python or Ruby or some other stack that can be a shell script available. If you're in Bash, it's because you were trying to do something quickly.
- reledi 12y agoGeneral rule of thumb for me is if it exceeds 100 lines of Bash, it should probably be a Ruby or Python script.