News for hackers. Stuff that matters.
Re:Bashing the Bash – Replacing Shell Scripts with Python (2... by rhn_mk1 on Saturday March 26, 2022 @04:38AM (#30810243)
Judging by the reaction of the kids at work, what you did is already unmaintainable.

Plus, if you are running shell out of necessity on a constrained system, that doesn't mean shell deserves to be a programming language where there's actual choice.

Re:Bashing the Bash – Replacing Shell Scripts with Python (2... by DyslexicAtheist on Saturday March 26, 2022 @05:13AM (#30810387)
> what you did is already unmaintainable.

how so? there is no python or perl or ruby etc on the target. what would have been a maintainable option other than /bin/sh ? C/C++ ?

> where there's actual choice.

again what choice? :) as I said there is no other solution than what I've given. the system literally doesn't have anything else regardless what "I think" it should support.

Re:Bashing the Bash – Replacing Shell Scripts with Python (2... by psd1 on Saturday March 26, 2022 @06:15AM (#30810625)
Anything is unmaintainable if the maintainers don't have the foundational skills.
Re:Bashing the Bash – Replacing Shell Scripts with Python (2... by teddyh on Saturday March 26, 2022 @07:38AM (#30810986)
In which case those people are not actually maintainers.
Re:Bashing the Bash – Replacing Shell Scripts with Python (2... by tempodox on Saturday March 26, 2022 @07:23AM (#30810906)
If the kids refuse to learn anything new (to them), they chose the wrong occupation.