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.

@rubenerd No one knows how to write POSIX shell scripts any more.
@futzle @rubenerd
#!/usr/bin/systemctl start bash.service
@mike @futzle @rubenerd ... wow, just ... wow ...