This whole thread is a sizable chunk of why I hate shell scripting. 🙄
Seriously, I've gone so far as writing "scripts" in Rust, C, and even Java just to avoid the flaws in shell languages.
I know, I know. Python is an option too... But something about its syntax throws me for a loop. I'm going to have to tackle that some day.
Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!