Writing scripts for the BSDs makes one keenly aware of cross-compatibility. I'll aim for POSIX(ish), then when behaviour deviates (cough GNU), I'll write a basic case statement to handle other platforms.
It... really isn't hard? But most scripts thesedays just assume Linux.
🔰 🇦🇺