4 ms·
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
by fiedzia 3y 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.
- mindentropy 3y agoI 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.