News for hackers. Stuff that matters.
Re:Minimal safe Bash script template by loudmax on Tuesday December 15, 2020 @07:49AM (#25429776)
I agree with the general sentiment, though I set the bar a bit higher (or lower, depending on your perspective). Bash does okay with positional arguments, error handing, and even loops. You can get a lot done with that, and there are a lot of circumstances where a little bash script is just what you need. Where I draw the line is at arrays. If you're starting to think about data structures, bash isn't the right tool for the job.

There are no comments on this comment yet.