News for hackers. Stuff that matters.
Re:Writing Safe Shell Scripts (2019) by kick on Saturday February 01, 2020 @03:11PM (#22212922)
Shell scripts are readable by just about anyone, they're available on every UNIX system, not just the Red Hat/Debian-derivatives of the last twenty years, they're fast as long as you're not doing stupid things, they're easily maintainable, they don't handle dependencies terribly (unlike Python), and so forth.

There's a reason AT&T used to run ads that showed their secretaries, managers, and so on using and writing shell scripts and there's never been a Python ad claiming that just anyone could write it.

Re:Writing Safe Shell Scripts (2019) by AlphaSite on Saturday February 01, 2020 @07:15PM (#22214219)
Having seen many professionals writing shell scripts. No they can’t.
Re:Writing Safe Shell Scripts (2019) by tristanstcyr on Saturday February 01, 2020 @03:38PM (#22213081)
Is this because both languages are from different eras? When did you last see a consumer ad about scripting?
Re:Writing Safe Shell Scripts (2019) by sjy on Sunday February 02, 2020 @02:15AM (#22215644)
> Shell scripts are readable by just about anyone

I reckon that less than 0.1% of the population can read shell scripts.

Re:Writing Safe Shell Scripts (2019) by hnlmorg on Sunday February 02, 2020 @02:48PM (#22218957)
I don't think that's a far comment. It was a different era with different expectations about computer user. The equivalent these days would probably be Excel macros