How do we encourage people to stop using #!/bin/bash?
That alone ports over 90% of Linux-specific scripts to BSD.

@farhan I know I'm guilty of using bash up there when I know the script will work on things like Sun's ancient /bin/sh. It's entirely because I know the systems my script needs to run on have bash installed.

Sadly, I don't think people will stop needlessly being bash-specific until the obvious porting issues affect them directly.


@yakkoj To be fair, Linux dominates the legacy Unix market. Anything else out there, including BSD which I love, is a rounding error.

Sign in to participate in the conversation
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!