Hacker News new | ask | show | jobs
by fiedzia 997 days ago
Don't. My rule is if it's more then 3 lines or more complex than simple commmand call, it'll be written in Python. It will be easier to read for everyone around and avoid all the shell footguns.
1 comments

I work in embedded and many times I will be dropped to minimal shells where I don't access to interpreters like Python.

Also whenever I need to do some repetitive file operations writing shell scripts in the command line becomes important.