vvv, 3 months ago Eh, though you’re right, it’s a pattern I like a lot: define your “main” at the top, put all the supporting functions below, and call main at the end. These days I’ve got a little bash task runner framework that I use for little scripts like this.
Eh, though you’re right, it’s a pattern I like a lot: define your “main” at the top, put all the supporting functions below, and call main at the end.
These days I’ve got a little bash task runner framework that I use for little scripts like this.