When I learned a safety lesson - and did a little bit better
June 19, 2021
I like to automate repetitive and boring things I do in my daily work. This lead to that me write bash scripts from time to time, but the problem is that I’m a newbie scripter. I’m learning as I go.
And the other day I did a cardinal sin in scripting. Not only that - I decided to show the world. Now that is a point to feel ashamed or to learn. I did both.
In this post, I will tell you about how I made my curl
-script a little better and a lot safer, but using an old way that’s been in curl
for ages.
The background
I was waiting for the summer part of Salt to start and had an hour over. The weather was amazing and I found a nice tree to sit under. Of course, I flipped up the computer...