434
Read the Following Manual
(sh.itjust.works)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
For those who want to give it a go:
when you get sick of it, hit
^Z(ctrl-z) and gokill %1. Then you get to start all over from the start next time!Bonus points for starting a tracker so you can count how long it takes to go from "eugh, what's with that overwrought and excessively defensive bash script" to "fuck, now I'm doing it too"
I am not much of a bash guy so it took me a moment to understand what this was doing.
Too bad I have to read so many man pages before I get to bash or sh.
Well,
bash should show up quickly enough. But yeah.I'm also no longer much of a bash guy. Back when I was my scripts were a lot simpler, and broke in weird ways a lot more. And every time I picked up a new defensive habit, my bash became a little bit uglier, and I thought to myself "maybe I should just do this in Python".
But this script would be a lot longer in Python.