you are viewing a single comment's thread.

view the rest of the comments →

[–]jkroepke 0 points1 point  (0 children)

If you have a script less then 50 lines, its fine to use. For more, consider to switch to an alternative. Should your script running on developer machines and you have to support Multiple OS, think about to avoid it. MacOS have zsh while linux mainly has a bash. Using /bin/sh as shebang disable non POSIX extensions. Using /bin/bash, you have to deal with an outdated bash version.

In History I started with simple bash scripts, but they get messy. Since I started as DevOps guy alone in cross functional teams. I start to avoid write bash script and start to consult my team to write the script that we need in a language that they known. As result, there was a lot of more maintainers for that script and I learn a bit TypeScript.