Hacker News new | ask | show | jobs
by PhilipRoman 572 days ago
Yuck, I was always instinctively put off by [[, now I finally have some arguments to justify it.

IMO safe shell scripting is kind of dead. I can do it if I really have to, but too many external programs have tricky "convenience" features like interpreting flags after positional parameters, etc.

1 comments

Ack to yuck, but dead.. definitely not. Pretty sure large amounts of shell still get written, mostly due to it being the default scripting interface to the operating system.
I don't mean that all shell scripting is dead (emphasis on the word safe), but it should not be at a security boundary.